Skip to content

Commit b7a9625

Browse files
author
Gonzalo Diaz
committed
[CONFIG] eslint-plugin-jest settings fixed
1 parent 31146f7 commit b7a9625

File tree

3 files changed

+5
-1
lines changed

3 files changed

+5
-1
lines changed

.eslintrc

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,9 @@
7272
"no-underscore-dangle": 0,
7373
"no-plusplus": ["error", { "allowForLoopAfterthoughts": true }],
7474
"import/no-unresolved": [2, {"commonjs": true, "amd": true}],
75-
"import/extensions": ["error", { "js": "always", "json": "always"}]
75+
"import/extensions": ["error", { "js": "always", "json": "always"}],
76+
"import/no-extraneous-dependencies": ["error", {"devDependencies": ["**/*.test.js", "**/*.bruteforce-test.js", "**/*.spec.js"]}]
77+
7678
}
7779

7880
}

package-lock.json

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
"devDependencies": {
2323
"@babel/eslint-parser": "^7.23.3",
2424
"@babel/plugin-syntax-import-assertions": "^7.23.3",
25+
"@jest/globals": "^29.7.0",
2526
"concurrently": "8.2.2",
2627
"eslint": "8.57.0",
2728
"eslint-config-airbnb-base": "15.0.0",

0 commit comments

Comments
 (0)