-
-
Notifications
You must be signed in to change notification settings - Fork 8
/
.eslintrc.js
34 lines (31 loc) · 1.05 KB
/
.eslintrc.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
module.exports = {
plugins: ["matrix-org"],
extends: ["plugin:matrix-org/babel"],
env: {
browser: true,
node: true,
},
rules: {
// No specific rules
},
overrides: [
{
files: ["**/*.ts"],
extends: ["plugin:matrix-org/typescript"],
rules: {
// TypeScript has its own version of this
"@babel/no-invalid-this": "off",
// We're okay being explicit at the moment
"@typescript-eslint/no-empty-interface": "off",
// Turn off things we're not concerned about here
"object-curly-spacing": "off",
"array-bracket-spacing": "off",
"quote-props": "off", // "be sensible"
"@typescript-eslint/no-explicit-any": "off", // handled at review time
// Casing is something we'll resolve at review time
"camelcase": "off",
"@typescript-eslint/naming-convention": "off",
},
},
],
};