From c07c0571d85b6015c1ce7cac5d4ce8973f4e6148 Mon Sep 17 00:00:00 2001 From: Tristan Tran Date: Wed, 14 Sep 2016 13:29:08 -0400 Subject: [PATCH] #527: Correct docs for rule no-extraneous-dependencies (#560) --- docs/rules/no-extraneous-dependencies.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/rules/no-extraneous-dependencies.md b/docs/rules/no-extraneous-dependencies.md index a15734589..449fc68ad 100644 --- a/docs/rules/no-extraneous-dependencies.md +++ b/docs/rules/no-extraneous-dependencies.md @@ -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.