Skip to content

davidjbradshaw/eslint-plugin-only-error

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

eslint-plugin-only-error

Upgrade warnings to errors

Installation

You'll first need to install ESLint:

$ 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:

{
    "plugins": [
        "only-error"
    ]
}

This plugin is based on eslint-plugin-only-warn by Bob Fanger.

About

Upgrade warnings to errors

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%