lint: Use Prettier for JSON files.

Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
Anders Kaseorg
2020-07-23 16:16:46 -07:00
committed by Tim Abbott
parent 40be4df57a
commit 2e029eb58b
4 changed files with 22 additions and 14 deletions

View File

@@ -1,6 +1,5 @@
module.exports = {
bracketSpacing: false,
tabWidth: 4,
trailingComma: "all",
overrides: [
{
@@ -10,9 +9,10 @@ module.exports = {
},
},
{
files: ["**.yml", "**.yaml"],
files: ["tsconfig.json"],
options: {
tabWidth: 2,
parser: "json5",
quoteProps: "preserve",
},
},
],