0.1.2 • Published 2 years ago

eslint-plugin-require-prevent-default v0.1.2

Weekly downloads
-
License
LGPL
Repository
-
Last release
2 years ago

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 :).