Files
zulip/prettier.config.js
Anders Kaseorg 2e029eb58b lint: Use Prettier for JSON files.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2020-07-24 09:42:56 -07:00

20 lines
457 B
JavaScript

module.exports = {
bracketSpacing: false,
trailingComma: "all",
overrides: [
{
files: ["frontend_tests/casper_tests/*.js", "frontend_tests/casper_lib/*.js"],
options: {
trailingComma: "es5",
},
},
{
files: ["tsconfig.json"],
options: {
parser: "json5",
quoteProps: "preserve",
},
},
],
};