Skip to content

Commit

Permalink
#527: Correct docs for rule no-extraneous-dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
tristanbbq committed Sep 14, 2016
1 parent 01f1852 commit 271df10
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/rules/no-extraneous-dependencies.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ You can set the options like this:
You can also use an array of globs instead of literal booleans:

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

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.
Expand Down

0 comments on commit 271df10

Please sign in to comment.