Closed jewpaltz closed 1 month ago
BH
The rule in [https://github.com/vuejs/eslint-plugin-vue/blob/aa476d619434fba88984604c5fa2d3a530775926/lib/rules/multi-wordcomponentnames.Js] is important. It is part of vue's style guide. However there are exceptions.
The rule even has an ignore clause. Where you can add certain component names to be ignored.
However sometimes an entire folder should be ignored.
For instance, when you are using file based routing. You wouldn't want all of your routes to have multi-word paths.
So I'm asking for the ignore parameter to also accept paths. Or some other solution that would accomplish the most goal.
Duplicate of #2434.
You can use overrides in .eslintrc.js, or files in eslint.config.js.
overrides
.eslintrc.js
files
eslint.config.js
BH
The rule in [https://github.com/vuejs/eslint-plugin-vue/blob/aa476d619434fba88984604c5fa2d3a530775926/lib/rules/multi-wordcomponentnames.Js] is important. It is part of vue's style guide. However there are exceptions.
The rule even has an ignore clause. Where you can add certain component names to be ignored.
However sometimes an entire folder should be ignored.
For instance, when you are using file based routing. You wouldn't want all of your routes to have multi-word paths.
So I'm asking for the ignore parameter to also accept paths. Or some other solution that would accomplish the most goal.