Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/davidjbradshaw/eslint-plugin-only-error
Upgrade warnings to errors
https://github.com/davidjbradshaw/eslint-plugin-only-error
eslint-plugin
Last synced: 3 months ago
JSON representation
Upgrade warnings to errors
- Host: GitHub
- URL: https://github.com/davidjbradshaw/eslint-plugin-only-error
- Owner: davidjbradshaw
- Fork: true (bfanger/eslint-plugin-only-warn)
- Created: 2018-10-05T09:16:19.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2024-06-22T23:35:35.000Z (4 months ago)
- Last Synced: 2024-07-02T07:18:46.655Z (4 months ago)
- Topics: eslint-plugin
- Language: JavaScript
- Homepage:
- Size: 41 KB
- Stars: 15
- Watchers: 3
- Forks: 3
- Open Issues: 1
-
Metadata Files:
- Readme: Readme.md
Awesome Lists containing this project
- awesome-eslint - Only-Error - Convert all rules to errors. (Plugins / Misc)
README
# eslint-plugin-only-error
Upgrade warnings to errors
## Installation
You'll first need to install [ESLint](http://eslint.org):
```
$ npm i eslint --save-dev
```Next, install `eslint-plugin-only-error`:
```
$ npm install eslint-plugin-only-error --save-dev
```**Note:** If you installed ESLint globally (using the `-g` flag) then you must also install `eslint-plugin-only-error` globally.
## Usage
Add `only-error` to the plugins section of your `.eslintrc` configuration file. You can omit the `eslint-plugin-` prefix:
```json
{
"plugins": [
"only-error"
]
}
```_This plugin is based on [eslint-plugin-only-warn](https://github.com/bfanger/eslint-plugin-only-warn) by [Bob Fanger](https://github.com//bfanger)._