Skip to content

Commit 271df10

Browse files
committed
import-js#527: Correct docs for rule no-extraneous-dependencies
1 parent 01f1852 commit 271df10

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/rules/no-extraneous-dependencies.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ You can set the options like this:
2222
You can also use an array of globs instead of literal booleans:
2323

2424
```js
25-
"import/no-extraneous-dependencies": ["error", {"devDependencies": ['*.test.js', '*.spec.js']}]
25+
"import/no-extraneous-dependencies": ["error", {"devDependencies": ['**/*.test.js', '**/*.spec.js']}]
2626
```
2727

2828
When using an array of globs, the setting will be activated if the name of the file being linted matches a single glob in the array.

0 commit comments

Comments
 (0)