eslint-config-standard-warn

0.0.3 • Public • Published

Standard-Warn - ESLint Sharable Config

js-standard-style

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.

Package Sidebar

Install

npm i eslint-config-standard-warn

Weekly Downloads

2

Version

0.0.3

License

MIT

Last publish

Collaborators

  • ianvs