forked from brackets-userland/brackets-git
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.js
24 lines (24 loc) · 862 Bytes
/
.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
module.exports = {
parser: "typescript-eslint-parser",
parserOptions: { sourceType: "module" },
extends: "pureprofile",
env: { es6: true, node: true },
rules: {
"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-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
},
globals: {
___dirname: false
}
};