Remove override for vue/multi-word-component-names
What does this MR do and why?
This change adds linting to non-EE .vue files to ensure we use two words in their name with "vue/multi-word-component-names".
This change is important as we have some usages of components that have the same name as some HTML tags, like form
and table
.
MR | |
---|---|
Enable vue/multi-word-component-names lint rule (!127929 - merged) | |
Remove override for vue/multi-word-component-names (!127930 - merged) |
|
Reviewing this MR
- You may start by checking the changes in
.eslintrc.yml
. - All other changes are to
eslint-disable
in the files affected - See more on the rationale behind this change in the docs update at !127929 (5ad6ec8c) (already merged)
Screenshots or screen recordings
NA
eslint-disable
in all files
Command to re-apply We can use this in case of merge conflicts:
for file in $(yarn eslint **/*.vue | grep app/assets/javascripts); do sed -i '' '1 s/^/<!-- eslint-disable vue\/multi-word-component-names -->\n/' ${file}; done
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Related to #360551 (closed)
Edited by Miguel Rincon