Latest plugin isn't allow eslint override
See original GitHub issueInfo
- Platform: macOS 10.15.6
- Vetur version: 0.26.0
- VS Code version: 1.47.3
Problem
After updating the vetur plugin to the latest version today, I am now seeing eslint errors for
[vue/valid-v-slot]'v-slot' directive doesn't support any modifier.
. When I try to turn this rule off following the docs here: https://vuejs.github.io/vetur/linting-error.html#linting it is not working.
[vue/valid-v-slot]
'v-slot' directive doesn't support any modifier.
Reproducible Case
- Update to the latest vetur plugin.
- Open a file with a template slot that uses the dot modifier.
Issue Analytics
- State:
- Created 3 years ago
- Reactions:7
- Comments:18 (8 by maintainers)
Top Results From Across the Web
Rules - ESLint - Pluggable JavaScript Linter
Note: When specifying rules from plugins, make sure to omit eslint-plugin- . ESLint uses only the unprefixed name internally to locate rules. Disabling...
Read more >How to adjust (not 100% override) existing eslint rule's ...
I am interested in adding one more file to allowed for devDependencies imports: rules: { "import/no-extraneous-dependencies": [ "error", { ...
Read more >ESLint | IntelliJ IDEA Documentation - JetBrains
To configure ESLint automatically in all new projects, open the Settings for New Projects dialog (File | New Projects Setup | Settings/ ...
Read more >eslint-comments/disable-enable-pair - mysticatea
The "extends": "plugin:eslint-comments/recommended" property in a configuration file enables this rule. eslint-disable directive-comments disable ESLint ...
Read more >eslint-plugin-react - npm
It is also possible to install ESLint globally rather than locally (using npm install eslint --global). However, this is not recommended, ...
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
Are you using vue2 or vue3? When you turn off Vetur’s linting, you should set
vetur.validation.template: false
. Did you do that?@octref
If I turn off
vetur.validation.template
i get linting by eslint but i loose linting on interpolated typescript… is there a way to circumvent this?