Skip to content

Commit

Permalink
Merge pull request #821 from smably/patch-1
Browse files Browse the repository at this point in the history
Clarify docs for glob arrays
  • Loading branch information
ljharb authored May 4, 2017
2 parents 106740f + 412e518 commit bd0e5e3
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 @@ -25,7 +25,7 @@ You can also use an array of globs instead of literal booleans:
"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.
When using an array of globs, the setting will be set to `true` (no errors reported) if the name of the file being linted matches a single glob in the array, and `false` otherwise.

## Rule Details

Expand Down

0 comments on commit bd0e5e3

Please sign in to comment.