-
Notifications
You must be signed in to change notification settings - Fork 27
/
.eslintrc
41 lines (40 loc) · 1.27 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
{
"ignorePatterns": [
"__build__/**/*",
".eslintrc.js",
"*.config.*",
"dist/**/*",
"node_modules/**/*",
"mounts/*",
"lib/*"
],
"parser": "@typescript-eslint/parser",
"plugins": ["@typescript-eslint", "import", "jest"],
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/eslint-recommended",
"plugin:@typescript-eslint/recommended",
"prettier"
],
"rules": {
"import/no-cycle": "error",
"no-console": ["warn"],
"@typescript-eslint/no-unused-vars": ["warn", { "argsIgnorePattern": "^_", "varsIgnorePattern": "^_" }],
"@typescript-eslint/no-empty-function": "off",
// The following rules are disable to help with the cleanup, eventually they should be disabled
"@typescript-eslint/no-var-requires": "off",
"@typescript-eslint/no-explicit-any": "off",
"@typescript-eslint/no-non-null-assertion": "off",
"@typescript-eslint/explicit-module-boundary-types": "off"
},
"settings": {
"import/parsers": {
"@typescript-eslint/parser": [".ts"]
},
"import/resolver": {
"typescript": {
"alwaysTryTypes": true
}
}
}
}