vue3 project error: error Delete `··` prettier/prettier
Run
npm run lint --fix
It depends on what tool is used. If you use yarn or pnpm, you can replace it
If present
Open package.json file, and view the configuration
For example, the configuration of my project is as follows
The command to run is:
npm run lint:eslint --fix
Then restart the project
Supplement:
Found that error Delete `——–␍⏎` prettier/prettier is too much when using webstorm, and every time I modify the code, this error will appear, which is troublesome to operate. So choose to close the Prettier code specification directly
Just configure it in the rules in eslintrc.js
'prettier/prettier': 'off'
Read More:
- [Solved] Vue prettier error: error Delete `␍` prettier/prettier
- [Solved] ESLint: Parsing error: Unexpected token(prettier/prettier)
- [Solved] Failed to load config “prettier“ to extend from.?
- [Solved] Vue3.0 Error: The component has been registered but not used vue/no-unused-components, Close eslint
- [Solved] vue3vite Error: Failed to resolve import “@vue/server-renderer from “src\App.vue“. Does the file exist
- eslint Error: Delete `␍` [How to Solve]
- [Solved] Vue Route Error: Uncaught TypeError: (0 , vue__WEBPACK_IMPORTED_MODULE_42__.defineComponent) is not a function
- [Solved] Vue Error: Uncaught TypeError: Vue.createApp is not a function
- Vue installation @ Vue/cli error: npmerr gyp err
- Vscode save Vue format eslint check error [How to Solve]
- Full screen scrolling by Vue + Vue awesomeswiper
- How to Solve VUE Error: Mixed spaces and tabs
- Vue warn]: vue3 element Component emit Pass Event Error
- Vue2.0: How to Use vue3 api to encapsulate Axios
- Vue Error: component has been registered but not used [Two Methods to Solve]
- [Solved] VUE D:\project\vueProject\vue-02\src\components\hello.vue 5:5 error Parsing error: x-invalid-end-tag
- [Solved] Vue Project Error: error ‘v-model‘ directives require no argument vue/valid-v-model
- [Solved] Vue3 Error: Unhandled error during execution of scheduler flush. This is likely a Vue internals bug. P
- [Solved] Vue eslint Error: Component name “*****“ should always be multi-word
- VUE Error: Vue Error in nextTick: “RangeError: Maximum call stack size exceeded“