Questions tagged [eslint-plugin-vue]
20 questions
0
votes
0 answers
eslint-plugin-vue unable to detect errors in Single File Components using CommonJS format
I'm using the eslint-plugin-vue in my Vue project, but unfortunately there's a mix of both ESM (ECMAScript modules) and CJS (CommonJS) module formats used in the SFCs (Single File Components).
Some components are using module.exports = {} in the…

inillie
- 1
- 1
0
votes
0 answers
eslint and prettier break style tag on div
I've got a Nuxt project set up with eslint. VSCode autmatically formats my code.
However I don't understand why it complains about the style tags on my div:

danielmoessner
- 339
- 3
- 18
0
votes
1 answer
How do I stop vue eslint rules from changing?
I had a team member run npm install earlier today, and now eslint want the tags to use camel case instead of dashes. That means that every single place we have a or a is getting changed to or . This seems to be because…

Christopher Waugh
- 441
- 1
- 4
- 15
0
votes
1 answer
How to configure the linter for formatting space between {{or}} and variables
I have to configure the linter rules, so that it can detect space in html between "{{ value }}"
for example, this would be ok
{{ value }}
and the error would be wrong
{{value}}
I use: eslint-plugin-vue: 5.2.2
What rule is…
sara
- 129
- 1
- 14
-1
votes
1 answer
npm WARN eslint-plugin-vue@6.2.2 requires a peer of eslint@^5.0.0 || ^6.0.0 but none is installed
Why do I get this error message while I already have a version of eslint higher than 5.0.0 in my Laravel project ?
$ npm install
npm WARN eslint-plugin-vue@6.2.2 requires a peer of eslint@^5.0.0 || ^6.0.0 but none is installed. You must install peer…

DevonDahon
- 7,460
- 6
- 69
- 114