-
-
Notifications
You must be signed in to change notification settings - Fork 464
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
Extension does not work with new versions of eslint #763
Comments
Any updates? Prettier stopped working out of the blue today, I didn't update anything unless VSC updated itself under the hood. |
We've run into the same issue. Prettier is not applying our eslint rules. Eslint version: 5.15.3 VS-code extension: 1.18.1 Downgrading to 5.15.1 does fix the issue. |
Same here. Downgrading eslint doesn't help. I have
in my eslint rules and it used to work but today Prettier started removing spaces between "function" keyword and parentheses in anonymous functions. |
We started seeing the same issues. Any more info needed to reproduce the issue? |
Same info - extension is dead? |
It seems to work again for me. Don't know why, didn't do anything. prettier -v |
Doesn't appear to work at all for me, disabling prettier until further notice. I imagine others will be doing the same. |
As @icyJoseph said, downgrading Eslint to 5.15.1 fixes the issue. |
Downgrading doesn't work.
|
Perhaps a dependency is forcing a higher version of eslint on your project? What does |
I'm using In addition, other formatting packages may cause prettier not to work as expected as it was mentioned in the prettier vscode README |
Same problem here. After the vscode updated to 1.33.0 (osx) prettier is now applying the fallback rules. |
Adding my 2 cents . osx . stopped working with vscode 1.33.0 eslint 5.16.0 or 5.15.1 neither works. |
I just downgraded VSCode to Version 1.32.3 (1.32.3) and everything is working again |
Any updates? |
Have some of you tried with prettier-eslint's CLI with different eslint version ? Trying to narrow down the issue. |
@CiGit The |
Unless I'm mistaken, the problem is that this extension bundles its own version of This means that even if you have eslint installed locally, the extension will run the lint and fixers with its local version of eslint 4. At least that was what I found when I was investigating why patching in my fix locally didn't fix the extension (I had to go into the vscode extension folder and patch it there for it to work). |
Duplicate of #870 |
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Prettier cannot resolve the eslint configuration and uses fallback options instead of eslint rules (
prettier.eslintIntegration: true
)The issue is reproduced using the eslint versions:
The solution for me at the moment is downgrade eslint to 5.15.1
The text was updated successfully, but these errors were encountered: