Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/Trott/eslint-plugin-new-with-error
Require `throw new Error()` and not `throw Error()`
https://github.com/Trott/eslint-plugin-new-with-error
Last synced: about 2 months ago
JSON representation
Require `throw new Error()` and not `throw Error()`
- Host: GitHub
- URL: https://github.com/Trott/eslint-plugin-new-with-error
- Owner: Trott
- License: other
- Created: 2015-11-10T16:29:14.000Z (about 9 years ago)
- Default Branch: main
- Last Pushed: 2024-11-04T23:13:50.000Z (2 months ago)
- Last Synced: 2024-11-13T00:01:05.811Z (about 2 months ago)
- Language: JavaScript
- Size: 1.97 MB
- Stars: 26
- Watchers: 4
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG
- License: LICENSE
Awesome Lists containing this project
- awesome-eslint - new-with-error - Require errors to be thrown using `new`. (Plugins / Practices and Specific ES Features)
README
# eslint-plugin-new-with-error
Require `throw new Error()` and not `throw Error()`* Installation: `npm install eslint-plugin-new-with-error`
* [Documentation](docs/rules/new-with-error.md)