eslint-plugin-require-prevent-default
v0.1.2
Published
eslint-plugin-require-prevent-default =====================================
Downloads
21
Maintainers
Readme
eslint-plugin-require-prevent-default
ESLint plugin to require preventDefault calls in onClick
handlers. Essentially, this makes the handler not also go to whatever placeholder url you've added in for your SPA app.
There's probably other handlers or situations this should handle but doesn't, so please file issues :).