-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc
42 lines (41 loc) · 909 Bytes
/
.eslintrc
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
{
"parser": "typescript-eslint-parser",
"parserOptions": {
"ecmaVersion": 6,
"sourceType": "module",
"ecmaFeatures": {
"modules": true
}
},
"plugins": [
"import",
"typescript"
],
"rules": {
"allowEmptyCatch": true,
"allowShortCircuit": true,
"class-methods-use-this": 0,
"no-use-before-define": 0,
"object-shorthand": "off",
"arrow-body-style": "off",
"no-plusplus": [2, {"allowForLoopAfterthoughts": true}],
"lines-between-class-members": 0,
"prettier/prettier": [
"warning",
{
"singleQuote": true,
"trailingComma": "es5",
"arrowParens": "always"
}
],
"typescript/class-name-casing": 1
},
"settings": {
"import/no-unresolved": false,
"import/extensions": false,
"import/resolver": {
"node": true,
"eslint-import-resolver-typescript": true
}
}
}