Skip to content

Commit

Permalink
#527: Correct docs for rule no-extraneous-dependencies (#560)
Browse files Browse the repository at this point in the history
  • Loading branch information
tristanbbq authored and benmosher committed Sep 14, 2016
1 parent 01f1852 commit c07c057
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 c07c057

Please sign in to comment.