forked from brackets-userland/brackets-git
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.js
28 lines (28 loc) · 1.02 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
module.exports = {
parser: "@typescript-eslint/parser",
parserOptions: { sourceType: "module" },
extends: "pureprofile",
env: { es6: true, node: true },
plugins: ["@typescript-eslint"],
rules: {
"indent": "off",
"@typescript-eslint/indent": ["error", 4, { "SwitchCase": 1 }],
"quotes": ["error", "double"],
"no-const-assign": 0, // conflicts with ts
"no-extra-parens": 0, // conflicts with ts
"no-param-reassign": 0, // remove later
"no-multi-spaces": ["error", { ignoreEOLComments: true }],
"no-undef": 0, // conflicts with ts
"no-undefined": 0, // conflicts with ts
"no-unused-expressions": 0, // conflicts with ts
"no-unused-vars": 0, // conflicts with ts
"no-use-before-define": 0, // conflicts with ts
"require-await": 0, // this doesn"t work well with our express async middleware
"sort-imports": 0, // this is too much effort to fix
"space-infix-ops": 0, // conflicts with ts
"linebreak-style": 0 // too many warnings
},
globals: {
___dirname: false
}
};