-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.json
28 lines (28 loc) · 922 Bytes
/
.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
{
"extends": [
"eslint-config-airbnb"
],
"parser": "typescript-eslint-parser",
"rules": {
"import/extensions": 0,
"import/no-unresolved": 0,
"import/prefer-default-export": 0,
"no-use-before-define": 0,
"class-methods-use-this": 0,
"no-undef": 0,
"prefer-destructuring": 0,
"max-len": [1, 80, 2, { "ignoreComments": true} ],
"quote-props": [1, "consistent-as-needed"],
"no-cond-assign": [2, "except-parens"],
"radix": 0,
"no-restricted-syntax": ["error", "LabeledStatement", "WithStatement"],
"no-plusplus": ["error", { "allowForLoopAfterthoughts": true }],
"space-infix-ops": 0,
"no-unused-vars": ["error", { "varsIgnorePattern": "_", "argsIgnorePattern": "^_"}],
"default-case": 0,
"no-else-return": 0,
"no-param-reassign": 0,
"quotes": ["error", "single", { "avoidEscape": true }],
"padded-blocks": ["error", "always"]
}
}