WebRule Details. This rule require component names to be always multi-word, except for root App components, and built-in components provided by Vue, such as or … WebApr 21, 2024 · 在配置完 ESlint 后,要求代码格式规范的同时,也规定了组件的名称格式,要写成 “XXXName”的格式,不能是单个单词。 所以除了改名,另一种解决方法是在 vue.config.js 文件中加一行 lintOnSave: false 如图: 然后重新编译。 【VUE】报错:Component name “Login“ should always be multi-word.
How to resolve "multi-word vue/multi-word-component-names" …
WebNote: When specifying rules from plugins, make sure to omit eslint-plugin-. ESLint uses only the unprefixed name internally to locate rules. Disabling Rules Using configuration comments. To disable rule warnings in a part … WebOct 21, 2024 · Checklist I have tried restarting my IDE and the issue persists. I have read the FAQ and my problem is not listed. Tell us about your environment ESLint version: v7.32.0 eslint-plugin-vue version: v7.20.0 Node version: v14.17.6 Operating... is there lost in space season 4
[vue eslint] Error Component name "xxxxx" should always be multi-word ...
WebSince component names should always be multi-word, this convention prevents you from having to choose an arbitrary prefix for simple component wrappers (e.g. MyButton, … WebThis rule require component names to be always multi-word, except for root App components, and built-in components provided by Vue, such as or … WebNote that is also possible to use an ESLint-specific .eslintignore file, that has the same syntax as .gitignore, and likely the same contents. To avoid this maintenance burden, … is there love at first sight