-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc
47 lines (47 loc) · 1.32 KB
/
.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
43
44
45
46
47
{
"extends": [
"airbnb-typescript/base",
"plugin:@typescript-eslint/recommended",
"plugin:@typescript-eslint/eslint-recommended",
"plugin:@typescript-eslint/recommended-requiring-type-checking"
],
"plugins": [
"@typescript-eslint",
"import"
],
"env": {
"browser": true,
"es6": true,
"jasmine": true
},
"parserOptions": {
"createDefaultProgram": true,
"project": "./tsconfig.json"
},
"rules": {
"arrow-parens": 0,
"class-methods-use-this": 0,
"no-bitwise": 0,
"no-console": 0,
"no-plusplus": [2, { "allowForLoopAfterthoughts": true }],
"no-unused-vars": 1,
"no-underscore-dangle": 0,
"no-unused-expressions": [2, { "allowShortCircuit": true, "allowTernary": true }],
"no-shadow": 0,
"max-len": [2, { "code": 120 }],
"import/no-cycle": [0, { "maxDepth": 1 }],
"import/no-extraneous-dependencies": 0,
"no-use-before-define": ["error", { "functions": false }],
"import/prefer-default-export": 0,
"@typescript-eslint/indent": "off",
"@typescript-eslint/no-use-before-define": ["error", { "functions": false }],
"object-curly-newline": [2, {
"ImportDeclaration": {
"multiline": true,
"minProperties": 6
}
}],
"prefer-promise-reject-errors": 0
},
"parser": "@typescript-eslint/parser"
}