Skip to content

Commit 5e32110

Browse files
author
Daniel Schmidt
committed
fix(test-names): also capture Should in tests
1 parent 89cde7d commit 5e32110

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

index.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,10 @@ module.exports = {
1313

1414
"destructuring/in-methods-params": "error",
1515
"compat/compat": "error",
16-
"test-names/blacklist-word-in-test-name": [2, "should"],
16+
"test-names/blacklist-word-in-test-name": [
17+
2,
18+
{ words: ["should"], caseInsensitive: true }
19+
],
1720

1821
// Ternary
1922
"no-nested-ternary": "error",

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
"eslint-plugin-import": "^1.13.0",
2626
"eslint-plugin-jsx-max-len": "^1.0.0",
2727
"eslint-plugin-prettier": "^2.0.1",
28-
"eslint-plugin-test-names": "^1.0.1",
28+
"eslint-plugin-test-names": "^2.1.0",
2929
"prettier": "^1.2.0"
3030
},
3131
"authors": [

0 commit comments

Comments
 (0)