-
Notifications
You must be signed in to change notification settings - Fork 24
Expand file tree
/
Copy path.eslintrc.json
More file actions
45 lines (45 loc) · 1.01 KB
/
.eslintrc.json
File metadata and controls
45 lines (45 loc) · 1.01 KB
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
{
"extends": ["../../.eslintrc.json"],
"ignorePatterns": ["!**/*"],
"plugins": ["local-custom-nx-plugin-for-aws-rules"],
"overrides": [
{
"files": ["*.ts", "*.tsx", "*.js", "*.jsx"],
"parserOptions": {
"project": ["packages/nx-plugin/tsconfig.*?.json"]
},
"rules": {
"@typescript-eslint/no-floating-promises": "error"
}
},
{
"files": ["*.ts", "*.tsx"],
"rules": {
"local-custom-nx-plugin-for-aws-rules/require-mcp-js-extension": "error"
}
},
{
"files": ["*.js", "*.jsx"],
"rules": {}
},
{
"files": ["*.json"],
"parser": "jsonc-eslint-parser",
"rules": {
"@nx/dependency-checks": [
"error",
{
"ignoredFiles": ["**/*.spec.ts", "**/*.spec.tsx"]
}
]
}
},
{
"files": ["./package.json", "./generators.json"],
"parser": "jsonc-eslint-parser",
"rules": {
"@nx/nx-plugin-checks": "error"
}
}
]
}