-
-
Notifications
You must be signed in to change notification settings - Fork 5k
Cannot read property 'push' of undefined #11929
Copy link
Copy link
Closed
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
Tell us about your environment
macOS 10.14.4
ESLint Version: 6.0.1
Node Version: 8.16.0
npm Version: 6.4.1
What parser (default, Babel-ESLint, etc.) are you using? Default
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.
Can't tell which source code, if any, is triggering this.
./node_modules/.bin/eslint .This does not happen if I run something like
./node_modules/.bin/eslint jswherejsis a directory.What did you expect to happen?
ESLint runs as usual
What actually happened? Please include the actual, raw output from ESLint.
Are you willing to submit a pull request to fix this bug?
Depends on how complex the fix is 🤷♀