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
This code fails "import/no-duplicates" rule:
import reducer from './glassSupplement'; import { glassDefaultState } from './glassSupplement';
Running an autofix turns the code into this (a syntax error):
import { glassDefaultState } from reducer from './glassSupplement';
Expected this instead:
import reducer, { glassDefaultState } from './glassSupplement';
.eslintrc.js:
module.exports = { "extends": [ "eslint:recommended", "plugin:import/errors", "plugin:import/warnings" ], "parser": "babel-eslint", };
devDependencies: "babel-eslint": "^9.0.0", "eslint": "^5.16.0", "eslint-plugin-import": "^2.18.0",
The text was updated successfully, but these errors were encountered:
no-duplicates
Successfully merging a pull request may close this issue.
This code fails "import/no-duplicates" rule:
Running an autofix turns the code into this (a syntax error):
Expected this instead:
.eslintrc.js:
devDependencies:
"babel-eslint": "^9.0.0",
"eslint": "^5.16.0",
"eslint-plugin-import": "^2.18.0",
The text was updated successfully, but these errors were encountered: