Comments (2)
Looking at the tests (https://github.com/vuejs/eslint-plugin-vue/blob/master/tests/lib/rules/use-v-on-exact.js), this may be the correct behaviour. I'll look into this a bit more and potentially reopen this.
from eslint-plugin-vue.
Turns out that:
<input
@keydown.ctrl.enter.exact="save()"
@keydown.stop.exact
/>
passes the lint & works fine, however, feels like @keydown.stop
shouldn't need the .exact
(since I want to stop propagation of all keys, .exact
seems confusing).
If somebody has some thoughts around this / best practices recommendations, I'd appreciate it!
(But certainly don't want to waste anyones time)
from eslint-plugin-vue.
Related Issues (20)
- Full example for flat config with object
- Under default configuration, HelloWorld.vue in the vite ts template will be detected as an error HOT 3
- Rule proposal: no-computed-after-await
- Flat config : Parsing error: Unexpected token ) HOT 3
- bind `:=` syntax error on `Windows` HOT 1
- `vue/no-ref-as-operand` not catching `computed` refs
- Namespace handling makes it impossible to lint recursive SVG / MathML components HOT 2
- Eslint is not marking not defined properties of a component as invalid HOT 6
- Suggestion: allow `["inline", "inline-function"]` option for `v-on-handler-style` HOT 1
- vue/no-undef-components-exclude-auto-import HOT 3
- `v-bind` shorthand syntax without argument (`:=`) generates `vue/no-unused-vars` false positive HOT 2
- error Definition for rule 'import/prefer-default-export' was not found import/prefer-default-export HOT 1
- Add autofix to `define-props-declaration`: transform runtime syntax to type-based syntax HOT 3
- vue/require-toggle-inside-transition - question: should it still be an error with a conditional appear attribute? HOT 8
- Parsing error: Unexpected token ) HOT 1
- eslint in the script scoped does not take effect
- `no-setup-props-reactivity-loss` should report template expressions
- Some of my plugins don't work HOT 7
- I tried cloning the project and running, but something went wrong HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from eslint-plugin-vue.