question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Latest plugin isn't allow eslint override

See original GitHub issue
  • I have searched through existing issues
  • I have read through docs
  • I have read FAQ

Info

  • 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.

Screen Shot 2020-08-04 at 5 05 37 PM
[vue/valid-v-slot]
'v-slot' directive doesn't support any modifier.

Reproducible Case

  1. Update to the latest vetur plugin.
  2. Open a file with a template slot that uses the dot modifier.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:7
  • Comments:18 (8 by maintainers)

github_iconTop GitHub Comments

2reactions
octrefcommented, Aug 5, 2020

Are you using vue2 or vue3? When you turn off Vetur’s linting, you should set vetur.validation.template: false. Did you do that?

1reaction
mentAl-maZecommented, Aug 5, 2020

@octref

Are you using vue2 or vue3? When you turn off Vetur’s linting, you should set vetur.validation.template: false. Did you do that?

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?

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found