Bug: Using eslint --config .eslintrc
triggers errors that do not occur when omitted
#15988
Closed
1 task
Labels
archived due to age
This issue has been archived; please open a new issue for any further discussion
bug
ESLint is working incorrectly
repro:needed
Projects
Environment
Node version: v18.3.0
npm version: v8.11.0
Local ESLint version: v8.17.0 (Currently used)
Global ESLint version: Not found
Operating System: darwin 20.5.0
What parser are you using?
@typescript-eslint/parser
What did you do?
Configuration
What did you expect to happen?
The linting to work
What actually happened?
Participation
Additional comments
When not using
--config
, everything works correctly. I also did some research and https://github.com/airbnb/javascript/blob/cbf9ade10a2f6f06c9da6dbfa25b344bee4bbef6/packages/eslint-config-airbnb-base/rules/best-practices.js#L46 defines the dot-notation rule. In conjunction with typescript-eslint/typescript-eslint#2047 (comment) this means that there is a weird bug in eslint.Repro repo: https://github.com/PythonCoderAS/eslint-15988-repro
The text was updated successfully, but these errors were encountered: