Swap to using tabs in json (#1304)

* Swap to using tabs in json

* Update .editorconfig
This commit is contained in:
Jaco authored and GitHub committed 2022-03-19 14:38:19 +02:00
1 parent 660d8e8aa4
commit 9ab2487378
2 files changed
+4 -1

No files matched your search

+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 () {