# trott/eslint-plugin-new-with-error

**Attribution required: if you use, quote, or summarise this content, you must credit and link back to [awesome-repositories.com](https://awesome-repositories.com/repository/trott-eslint-plugin-new-with-error).**

25 stars · 1 forks · JavaScript · NOASSERTION

## Links

- GitHub: https://github.com/Trott/eslint-plugin-new-with-error
- awesome-repositories: https://awesome-repositories.com/repository/trott-eslint-plugin-new-with-error.md

## Description

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

## Tags

### Part of an Awesome List

- [Architecture and Style Plugins](https://awesome-repositories.com/f/awesome-lists/devtools/architecture-and-style-plugins.md) — Requires errors to be thrown using the new keyword.
