-
Notifications
You must be signed in to change notification settings - Fork 17
/
.eslintrc.json
43 lines (43 loc) · 1.16 KB
/
.eslintrc.json
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
35
36
37
38
39
40
41
42
43
{
"root": true,
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaVersion": 6,
"sourceType": "module"
},
"plugins": [
"@typescript-eslint"
],
"rules": {
"@typescript-eslint/naming-convention": "off",
"@typescript-eslint/semi": "warn",
"no-compare-neg-zero": "error",
"no-cond-assign": "error",
"no-const-assign": "error",
"no-debugger": "error",
"no-dupe-args": "error",
"no-dupe-else-if": "error",
"no-dupe-keys": "error",
"no-duplicate-case": "error",
"no-duplicate-imports": "error",
"curly": "error",
"eqeqeq": "error",
"no-throw-literal": "warn",
"semi": "error",
"no-extra-semi": "error",
"no-console": "error",
"no-else-return": "error",
"no-shadow":"error",
"no-var": "error",
"prefer-const": "error",
"no-multi-spaces": "error",
"no-multiple-empty-lines": "error",
"no-trailing-spaces": "error",
"quotes": ["error", "single"]
},
"ignorePatterns": [
"out",
"dist",
"**/*.d.ts"
]
}