eslint-config-mono
![downloads](https://img.shields.io/npm/dm/eslint-config-mono.svg)
Note: This is really intended for personal use, but feel free to use it if it looks good to you
Install
npm install eslint-config-mono
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 shareable config, first run this:
npm install -D -E eslint-config-mono eslint-plugin-standard eslint-plugin-promise eslint-plugin-import eslint-plugin-node
Then, add this to your .eslintrc
file:
{
"extends": "mono"
}
Custom rules
{
"comma-dangle": ["warn", {
"arrays": "always",
"objects": "always",
"imports": "always",
"exports": "always",
"functions": "ignore"
}],
"array-bracket-spacing": ["warn", "always"],
"object-curly-spacing": ["warn", "always"],
"no-sequences": ["off"],
"no-console": ["warn"],
"standard/object-curly-even-spacing": ["off"]
}