-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Implement removal and linting of native event name usage #1603
Comments
Issue with |
This was referenced Sep 17, 2024
JoCa96
added a commit
that referenced
this issue
Sep 17, 2024
…lint-plugin-vue" until its released (#1877) Duplicate "no-shadow-native-events" from "eslint-plugin-vue" until it is released: - PR with `eslint-plugin-vue`: vuejs/eslint-plugin-vue#2558 - Tests can also be found in that PR - Official Rule proposal: vuejs/eslint-plugin-vue#2557 Relates to #1603
JoCa96
added a commit
that referenced
this issue
Sep 18, 2024
A new Storybook Util `withNativeEventLoggingFor` is introduced. It generates Storybook `ArgTypes` that allow us to document and log relevant native events in Storybook. These can be merged with other `ArgTypes`. The native events will be documented in a new section "Relevant HTML Events". Relates to #1603 --------- Co-authored-by: Lars Rickert <lars.rickert@mail.schwarz>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Why?
Currently, we are re-emitting events like
click
orchange
.This creates complications and confusion for our users:
Acceptance criteria
Definition of Done
Approval
Relevant HTML events
section, where native HTML events are documented: e.g.:Relevant HTML events
section and you will find the documented elementsImplementation details
Make use of
eslint-plugin-vue/lib/utils
:Reference implementations
See the following as examples for similar lint rules:
The text was updated successfully, but these errors were encountered: