mirror of
https://github.com/pezkuwichain/phishing.git
synced 2026-04-21 23:48:01 +00:00
Swap to using tabs in json (#1304)
* Swap to using tabs in json * Update .editorconfig
This commit is contained in:
@@ -8,3 +8,6 @@ charset=utf-8
|
||||
trim_trailing_whitespace=true
|
||||
max_line_length=120
|
||||
insert_final_newline=true
|
||||
[*.json]
|
||||
indent_style=tab
|
||||
indent_size=4
|
||||
|
||||
+1
-1
@@ -60,7 +60,7 @@ function readJson (file) {
|
||||
}
|
||||
|
||||
function writeJson (file, contents) {
|
||||
fs.writeFileSync(file, `${JSON.stringify(contents, null, 2)}\n`);
|
||||
fs.writeFileSync(file, `${JSON.stringify(contents, null, '\t')}\n`);
|
||||
}
|
||||
|
||||
function readMeta () {
|
||||
|
||||
Reference in New Issue
Block a user