-
-
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
No errors when "import/extensions": ["error", "ignorePackages"]
#1518
Comments
I’m not sure what the issue is here - the defaults can’t be changed without a semver-major bump. |
Shouldn't |
Yes, it should. Can you provide code where it’s not? |
AFK but I don't see any relevant 'invalid' test in https://github.com/benmosher/eslint-plugin-import/blob/master/tests/src/rules/extensions.js |
True, but I’d expect it to behave the same as https://github.com/benmosher/eslint-plugin-import/blob/112a0bf442e52b25cd7029a9905df2508e191ac1/tests/src/rules/extensions.js#L298. Some example code where it doesn’t would help. |
It doesn't show any errors , I had to do the following instead to get the expected behavior:
It seems
src/rules/extensions.js
allows but doesn't really expectdefaultConfig
to be"ignorePackages"
.The text was updated successfully, but these errors were encountered: