vuejs / eslint-plugin-vue

Official ESLint plugin for Vue.js
https://eslint.vuejs.org/
MIT License
4.47k stars 667 forks source link

feat(no-shadow-native-events): initial implementation #2558

Open JoCa96 opened 2 months ago

JoCa96 commented 2 months ago

Implementation of my proposed rule #2557 Rule Proposal: Disallow shadowing of native HTML event names. The implementation is heavily based on require-explicit-emits. The dom-events.json file is based on the Events interface of @vue/runtime-dom/dist/runtime-dom.d.ts.

FloEdelmann commented 2 months ago

Could you please fix the lint and test failures?

JoCa96 commented 2 months ago

@FloEdelmann Of course! Done!