We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Some rules need to be changed for tc39/ecma262#2154?
related:
The text was updated successfully, but these errors were encountered:
If so, a PR with test cases would be most helpful.
However, I'd expect no changes are needed, since we rely on the parser to handle this.
Sorry, something went wrong.
For example, no-named-default should warn for the below code:
import { "default" as bar } from "./bar";
However, current one doesn't warn. We should also handle specifier.imported.value because specifier.imported can be a Literal on
specifier.imported.value
specifier.imported
Literal
eslint-plugin-import/src/rules/no-named-default.js
Line 20 in 9e4c9a9
These small changes need to be made for many rules.
Good catch! A PR would be appreciated.
Successfully merging a pull request may close this issue.
Some rules need to be changed for tc39/ecma262#2154?
related:
The text was updated successfully, but these errors were encountered: