eslint-config-wiw
Shareable Config based on StandardJS
An ESLintInstall and 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.
You probably wanna do this instead.
To set up Enjoyment manually, run the following command:
npm install --save-dev eslint-config-wiw eslint-plugin-standard eslint-plugin-promise eslint-plugin-import eslint-plugin-node
Then, add this to your .eslintrc
file:
{
"extends": "enjoyment"
}
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.
Looking for something easier than this?
The easiest way to use Wiw is to use the wiw
package, which comes with a command line tool.
Badge
Use this in one of your projects? Include one of these badges in your readme to let people know that your code is using the standard style.
![js-standard-style](https://img.shields.io/badge/code%20style-wiw-brightgreen.svg)
License
MIT. Copyright (c) Tobias SN, based on StandardJS by Feross Aboukhadijeh and its other contributors.