Skip to content

palfrey/eslint-plugin-require-prevent-default

Repository files navigation

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

About

Eslint plugin to require preventDefault calls

Resources

License

Stars

Watchers

Forks

Packages

No packages published