-
-
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
dynamic-import-chunkname does not handle webpackInclude/webpackExclude comments correctly #1407
Comments
I suspect we didn’t know that commenting format existed when the rule was written :-) |
This rule was originally written when the only magic comment was |
I do not know if this is inside the scope of this issue, but it appears that this rules also does not allow |
This was fixed in #2330. |
dynamic-import-chunkname
rule does not handlewebpackInclude
/webpackExclude
comments correctly..eslintrc.js
:index.js
Output:
eslint
6.0.1
eslint-plugin-import
2.18.0
Minimal reproducible example: https://github.com/vkrol/eslint-plugin-import-webpack-comment-with-regex-bug
The text was updated successfully, but these errors were encountered: