generated from maximegris/angular-electron
-
Notifications
You must be signed in to change notification settings - Fork 16
/
.eslintrc.js
58 lines (58 loc) · 1.83 KB
/
.eslintrc.js
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
54
55
56
57
58
module.exports = {
"root": true,
"ignorePatterns": ["**/*"],
"plugins": ["@nrwl/nx"],
"env": {
"browser": true,
"node": true,
"es6": true,
"es2017": true
},
parserOptions: {
tsconfigRootDir: __dirname,
sourceType: "module",
},
"overrides": [
{
"files": ["*.ts"],
"excludedFiles": ["**/*.d.ts", "**/*.spec.ts"],
"extends": [
"plugin:@nrwl/nx/angular",
"plugin:@typescript-eslint/eslint-recommended",
"plugin:@typescript-eslint/recommended",
"plugin:@typescript-eslint/recommended-requiring-type-checking"
],
"plugins": [
"eslint-plugin-import",
"@angular-eslint/eslint-plugin",
"@typescript-eslint"
],
"rules": {
"@typescript-eslint/no-empty-function": 0,
"@typescript-eslint/no-var-requires": 0,
"@typescript-eslint/no-explicit-any": 0,
"@typescript-eslint/no-unsafe-call": 0,
"@typescript-eslint/no-unsafe-member-access": 0,
"@typescript-eslint/no-unsafe-assignment": 0,
"@typescript-eslint/no-unsafe-return": 0,
"@typescript-eslint/no-floating-promises": 0,
"@typescript-eslint/no-empty-interface": 0,
"@typescript-eslint/no-unsafe-argument": "warn",
"@typescript-eslint/restrict-plus-operands": "warn",
"@typescript-eslint/restrict-template-expressions": "warn",
"@typescript-eslint/no-misused-promises": "warn",
"no-async-promise-executor": "warn",
"@typescript-eslint/unbound-method": [
"error",
{
"ignoreStatic": true
}
],
"no-restricted-syntax": "warn",
"@typescript-eslint/member-ordering": "off",
"@angular-eslint/no-output-on-prefix": "warn",
"@angular-eslint/no-empty-lifecycle-method": "warn"
}
}
]
};