-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
ESLint fixer isn't working #635
Comments
I have fixed this bug now. The problem was that jobs weren't being cancelled when fixing was interrupted by fixing files again. If ESLint still doesn't do anything, check your configuration file. You might have to switch from using nested configuration files to |
I am having this issue currently after running
ALEInfo
ESLint configuration
|
Have you tried running |
Yes I can fix on CLI. I also see errors in the UI. Only fixers are giving me trouble. |
P.S. Thank you for the quick reply! |
Could you create a repository containing an example project which repeats the same issue? |
I'm encountering the same issue with: https://github.com/saschajullmann/gatsby-starter-gatsbythemes
The following command is fixing file as expected: node_modules/.bin/eslint --fix src/utils/colors.js When I try to edit src/utils/colors.js vim is replacing '' with "" which is the opposite of how prettier was configured. |
Here is a record from my screen: I suppose it's somehow related with #947 as in my case eslint is not installed globally. I've tried with adding of ./node_modules/bin to PATH but it doesn't work. |
@mgenov make sure that executable in node_modules/eslint/bin has execution permissions |
Exiting vim also gives me:
Looks like the temp file isnt being created correctly?
prettier
works, just noteslint
as the fixerThe text was updated successfully, but these errors were encountered: