-
-
Notifications
You must be signed in to change notification settings - Fork 5k
Schema validation modifies exported config object in .eslintrc.js #12592
Copy link
Copy link
Labels
acceptedThere is consensus among the team that this change meets the criteria for inclusionThere is consensus among the team that this change meets the criteria for inclusionarchived due to ageThis issue has been archived; please open a new issue for any further discussionThis issue has been archived; please open a new issue for any further discussionbugESLint is working incorrectlyESLint is working incorrectlycoreRelates to ESLint's core APIs and featuresRelates to ESLint's core APIs and features
Metadata
Metadata
Assignees
Labels
acceptedThere is consensus among the team that this change meets the criteria for inclusionThere is consensus among the team that this change meets the criteria for inclusionarchived due to ageThis issue has been archived; please open a new issue for any further discussionThis issue has been archived; please open a new issue for any further discussionbugESLint is working incorrectlyESLint is working incorrectlycoreRelates to ESLint's core APIs and featuresRelates to ESLint's core APIs and features
Type
Projects
Status
Complete
Tell us about your environment
What parser (default, Babel-ESLint, etc.) are you using? babel-eslint
Please show your full configuration:
Configuration
What did you do? Please include the actual source code causing the issue, as well as the command that you used to run ESLint.
What did you expect to happen?
I expected no errors.
What actually happened? Please include the actual, raw output from ESLint.
This happens because of #12528 adding
ignoreImportswith default valuefailse, and because the defaults ofcamelcaseare merged into the same object in.eslintrc.basic.js:rules.camelcase, which is also the same reference in.eslintrc.babel.js:rules.@babel/camelcase.Are you willing to submit a pull request to fix this bug?
Sure.