-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Glob in "import/no-extraneous-dependencies" doesn't work as expected #866
Comments
Are you getting this on the command line or in an editor? Are you running the command in the project root? |
I tested in command line from root project and editor (vim plugin). |
I know these settings work: https://github.com/airbnb/javascript/blob/master/packages/eslint-config-airbnb-base/rules/imports.js#L71-L86 Try adding |
|
eslint v3.19.0
My eslintrc looks like:
This doesn't work as expected (still getting
error 'knex' should be listed in the project's dependencies, not devDependencies import/no-extraneous-dependencies
intest/index.js
). I tried various globs with no success:test/*.js
,./test/*
,./test/**/*
, etc.The only thing that seems to work is:
The text was updated successfully, but these errors were encountered: