Conflict with the eslint-plugin-html
See original GitHub issue- version: 3.5.1
- vue-cli: 2.8.2
// Copy from webpack-template
extends: 'airbnb-base',
plugins: [
'html'
],
After adding the plugin to extends, as below, eslint has no effect on the js in the vue single file component.
// Copy from webpack-template
extends: [
'airbnb-base',
'plugin:vue/recommended',
],
plugins: [
'html'
],
不算bug吧? remove html
插件就好了。
Issue Analytics
- State:
- Created 6 years ago
- Comments:7 (1 by maintainers)
Top Results From Across the Web
ERROR in Plugin "react" was conflicted between ".eslintrc.json ...
The problem: eslint-plugin-react version in your project's dependency is "different" from the one in eslint-config-react-app package's ...
Read more >Basic Features: ESLint - Next.js
ESLint Config · ESLint Plugin · Linting Custom Directories and Files · Caching · Disabling Rules · Usage With Other Tools · Migrating...
Read more >ESLint | WebStorm Documentation - JetBrains
WebStorm integrates with ESLint which brings a wide range of linting rules that can also be extended with plugins.
Read more >How to Fix ERROR in Plugin 'react' was conflicted between ...
If you're seeing the error message "Plugin 'react' was conflicted between 'package.json' and 'eslint-config-react-app'" then it's likely ...
Read more >Working with Rules - ESLint - Pluggable JavaScript Linter
In a custom rule or plugin, you can omit docs or include any properties that you ... and may not be applied at...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Ok, solved!
I updated my settings.json (file > preferences > settings) to look like this:
Works beautifully!
Encountered this problem and found that placing
"vue"
before"html"
in"plugins"
fixed it for me.