-
Notifications
You must be signed in to change notification settings - Fork 4
/
.eslintrc.json
52 lines (52 loc) · 1.24 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
44
45
46
47
48
49
50
51
52
{
"extends": [
"plugin:@typescript-eslint/recommended"
],
"plugins": [
],
"env": {
"browser": false,
"jest": false
},
"parser": "@typescript-eslint/parser",
"parserOptions": {
"requireConfigFile": false,
"ecmaVersion": 6,
"ecmaFeatures": {
// "jsx": true,
"experimentalObjectRestSpread": true,
"templateStrings": true
}
},
"settings": {
"import/extensions": [".js", ".ts"],
"import/resolver": {
"node": {
"paths": ["src"]
},
"typescript": {
"paths": ["src"]
}
}
},
"rules": {
"semi": ["error", "never"],
"template-curly-spacing": ["error", "never"],
"comma-dangle": ["error", "always-multiline"],
"max-len": "off",
"global-require": "off",
"indent": "error",
"object-curly-newline": 0,
"@typescript-eslint/explicit-module-boundary-types": "off",
"@typescript-eslint/ban-ts-comment": "off",
"@typescript-eslint/no-empty-function": "off",
"@typescript-eslint/no-explicit-any": "off",
"eqeqeq": "error",
"max-classes-per-file": "warn",
"comma-spacing": "warn",
"no-return-await": "warn",
"object-curly-spacing": "warn",
"space-before-blocks": "warn",
"no-debugger": "warn"
}
}