Swap to using tabs in json (#1304)

* Swap to using tabs in json

* Update .editorconfig
This commit is contained in:
Jaco
2022-03-19 13:38:19 +01:00
committed by GitHub
parent 660d8e8aa4
commit 9ab2487378
2 changed files with 4 additions and 1 deletions
+3
View File
@@ -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
View File
@@ -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 () {