Comments (6)
Update: the solution is to restart vs code
I found that after we create .prettierrc
file, we need to restart vs code, otherwise vs code will still complain the eslint errors. (in vue file this time)
from eslint-config-prettier.
The typescript file works this time π (I think there must be some changes done in the past 2 months)
However, the vue
and other files like cjs
still not work.
reproduction repo:
https://github.com/uniquejava/prettier-not-work
from eslint-config-prettier.
It's enough to restart the eslint server in vscode, you don't have to restart the entire vscode.
from eslint-config-prettier.
Can't reproduce. Could you please provide a reproduction repo?
from eslint-config-prettier.
Update: the solution is to restart vs code
I found that after we create
.prettierrc
file, we need to restart vs code, otherwise vs code will still complain the eslint errors. (in vue file this time)
Same thing for WebStorm if somebody wonders...
from eslint-config-prettier.
As this package only defines some simple eslint config, I believe this is no bug. It's normal that you have to restart the eslint server if you change the configuration. I think this should be closed.
from eslint-config-prettier.
Related Issues (15)
- Can I use it in Vite HOT 1
- Vue CLI new migration guide sends to this project but there is no mention of migration hints here. HOT 4
- Is code in document need updateοΌ HOT 1
- Please update typescript package
- eslint-plugin-prettier is generally not recommended HOT 2
- bug: update to Prettier 3.0 HOT 7
- Please add a license file HOT 1
- Inclusion of "eslint:recommended" HOT 2
- eslint-config-prettier has been greatly simplified
- [Feature Request] support eslint-plugin-prettier@v4 HOT 2
- update plugin with pnpm
- ESLint couldn't find the config "@vue/prettier/@typescript-eslint" after upgrading from 6.0.0 to 7.0.0 HOT 6
- Changelog entry for v7 is missing in changelog.md file HOT 1
- Vue CLI is not working.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from eslint-config-prettier.