-
Notifications
You must be signed in to change notification settings - Fork 11
/
.eslintrc
53 lines (53 loc) · 1.56 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
48
49
50
51
52
53
{
"root": true,
"extends": ["plugin:@typescript-eslint/recommended", "airbnb-typescript/base"],
"parser": "@typescript-eslint/parser",
"parserOptions": {
"project": "./tsconfig.json"
},
"rules": {
"@typescript-eslint/no-non-null-assertion": "off",
"@typescript-eslint/ban-types": "off",
"class-methods-use-this": "off",
"@typescript-eslint/indent": "off",
"max-len": ["warn", { "code": 120 }],
"function-paren-newline": "off",
"implicit-arrow-linebreak": "off",
"no-param-reassign": "off",
"no-plusplus": "off",
"object-curly-newline": "off",
"no-new": "off",
"no-console": [
"error",
{
"allow": ["warn", "error"]
}
],
"no-continue": "off",
"no-await-in-loop": "off",
"no-restricted-syntax": "off",
"@typescript-eslint/comma-dangle": ["off"],
"import/no-cycle": ["off"],
"@typescript-eslint/lines-between-class-members": ["off"],
"operator-linebreak": ["off"],
"arrow-parens": ["off"],
"no-underscore-dangle": ["off"],
"@typescript-eslint/explicit-function-return-type": ["off"],
"@typescript-eslint/explicit-module-boundary-types": ["off"],
"import/prefer-default-export": ["off"],
"no-shadow": "off",
"@typescript-eslint/no-shadow": ["error"],
"arrow-body-style": "off"
},
"ignorePatterns": ["**/*.d.ts"],
"overrides": [
{
"files": "scripts/**/*.js",
"rules": {
"@typescript-eslint/no-var-requires": "off",
"import/no-extraneous-dependencies": "off",
"no-console": "off"
}
}
]
}