eslint-plugin-require-prevent-default

0.1.2 • Public • Published

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

Package Sidebar

Install

npm i eslint-plugin-require-prevent-default

Weekly Downloads

4

Version

0.1.2

License

LGPL

Unpacked Size

29.6 kB

Total Files

5

Last publish

Collaborators

  • palfrey