Trott / eslint-plugin-new-with-error

Require `throw new Error()` and not `throw Error()`

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

eslint-plugin-new-with-error

Require throw new Error() and not throw Error()

  • Installation: npm install eslint-plugin-new-with-error
  • Documentation

About

Require `throw new Error()` and not `throw Error()`

License:Other


Languages

Language:JavaScript 100.0%