-
Notifications
You must be signed in to change notification settings - Fork 50
Expand file tree
/
Copy path.eslintrc.json
More file actions
32 lines (32 loc) · 866 Bytes
/
.eslintrc.json
File metadata and controls
32 lines (32 loc) · 866 Bytes
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
{
"root": true,
"ignorePatterns": ["!**/*"],
"plugins": ["@nx", "@typescript-eslint", "prettier"],
"extends": ["plugin:@nx/angular", "plugin:@typescript-eslint/recommended", "prettier"],
"overrides": [
{
"files": "*.json",
"parser": "jsonc-eslint-parser",
"rules": {}
},
{
"files": ["*.ts"],
"rules": {
"prettier/prettier": [
"error",
{
"endOfLine": "auto"
}
],
"no-extra-semi": "off",
"comma-dangle": "off",
"no-empty-function": "off",
"@typescript-eslint/no-extra-semi": "error",
"@typescript-eslint/no-empty-function": "warn",
"@typescript-eslint/no-explicit-any": "warn",
"@typescript-eslint/consistent-type-imports": "error",
"@nx/enforce-module-boundaries": "error"
}
}
]
}