mirror of
https://github.com/zulip/zulip.git
synced 2025-10-23 04:52:12 +00:00
ES and TypeScript modules are strict by default and don’t need this directive. ESLint will remind us to add it to new CommonJS files and remove it from ES and TypeScript modules. Signed-off-by: Anders Kaseorg <anders@zulip.com>
22 lines
472 B
JavaScript
22 lines
472 B
JavaScript
"use strict";
|
|
|
|
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",
|
|
},
|
|
},
|
|
],
|
|
};
|