eslint-config-standard-warn
v0.0.3
Published
ESLint Sharable Config Based on Standard, with All Errors Changed to Warnings
Downloads
21
Maintainers
Readme
Standard-Warn - ESLint Sharable Config
This config extends JavaScript Standard Style and changes all errors to warnings. This makes it easier to add ESLint to an existing project by allowing you to find out where your problems are without breaking your tests. You can then use a tool like ESLint Nibble to fix the warnings one-by-one as you have the time and/or willpower. Once all your rules are passing, switch over to using the original Standard configuration.
Install
npm install eslint-config-standard-warn
Usage
Shareable configs are designed to work with the extends
feature of .eslintrc
files.
You can learn more about
Shareable Configs on the
official ESLint website.
To use the JavaScript Standard Style Warn shareable config, first run this:
npm install eslint-config-standard-warn
Then, add this to your .eslintrc file:
{
"extends": "standard-warn"
}
Note: We omitted the eslint-config-
prefix since it is automatically assumed by ESLint.
You can override settings from the shareable config by adding them directly into your
.eslintrc
file.