Skip to content

Commit 73ae95f

Browse files
committed
chore: Updated eslint config
1 parent e60171f commit 73ae95f

File tree

1 file changed

+27
-4
lines changed

1 file changed

+27
-4
lines changed

.eslintrc.json

+27-4
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,13 @@
66
"sourceType": "module",
77
"project": "./tsconfig.*?.json"
88
},
9-
"ignorePatterns": ["**/*"],
10-
"plugins": ["@typescript-eslint", "@nrwl/nx"],
9+
"ignorePatterns": [
10+
"**/*"
11+
],
12+
"plugins": [
13+
"@typescript-eslint",
14+
"@nrwl/nx"
15+
],
1116
"extends": [
1217
"eslint:recommended",
1318
"plugin:@typescript-eslint/eslint-recommended",
@@ -27,14 +32,32 @@
2732
"enforceBuildableLibDependency": true,
2833
"allow": [],
2934
"depConstraints": [
30-
{ "sourceTag": "*", "onlyDependOnLibsWithTags": ["*"] }
35+
{
36+
"sourceTag": "*",
37+
"onlyDependOnLibsWithTags": [
38+
"*"
39+
]
40+
}
3141
]
3242
}
3343
]
3444
},
3545
"overrides": [
3646
{
37-
"files": ["*.tsx"],
47+
"files": [
48+
"**/*.spec.js",
49+
"**/*.spec.jsx",
50+
"**/*.spec.ts",
51+
"**/*.spec.tsx"
52+
],
53+
"env": {
54+
"jest": true
55+
}
56+
},
57+
{
58+
"files": [
59+
"*.tsx"
60+
],
3861
"rules": {
3962
"@typescript-eslint/no-unused-vars": "off"
4063
}

0 commit comments

Comments
 (0)