add editorconfig rule for json files

This commit is contained in:
ChunkyProgrammer 2023-12-19 18:32:05 -05:00
parent 4e4bcdd790
commit 413b65fd2b
3 changed files with 3 additions and 3 deletions

View File

@ -6,7 +6,7 @@ indent_style = space
indent_size = 2 indent_size = 2
trim_trailing_whitespace = true trim_trailing_whitespace = true
[*.{js,css}] [*.{js,css,json}]
charset = utf-8 charset = utf-8
end_of_line = lf end_of_line = lf
insert_final_newline = true insert_final_newline = true

View File

@ -33,4 +33,4 @@
"location.origin" "location.origin"
] ]
} }
} }

View File

@ -18,4 +18,4 @@
"no-irregular-whitespace": true, "no-irregular-whitespace": true,
"string-no-newline": true "string-no-newline": true
} }
} }