New issue
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
Cannot read property 'push' of undefined #11929
Cannot read property 'push' of undefined #11929
Comments
Hi @babramczyk, could you please run ESLint with the |
So here is one (it seems of many) files that it chokes on. It's a build file from Vue, I believe (I've since ignored it in https://gist.github.com/babramczyk/ed2dcfa579fc83bc8294e3334d4e3319 |
Marking as accepted based on the linked PR. |
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 js
wherejs
is 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 🤷♀
The text was updated successfully, but these errors were encountered: