A "Koality" ESLint Shareable Config from your friends at Code Koalas
npm install --save-dev eslint-config-koality
The ESLint Shareable Config
depends on ESLint so you'll need to install ESLint as well (if you have not already installed it):
npm install --save-dev eslint
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 install eslint-config-koality:
npm install --save-dev eslint-config-koality
Next, add the peer dependencies
npm install --save-dev eslint eslint-config-prettier eslint-config-standard eslint-config-standard-jsx eslint-plugin-import eslint-plugin-node eslint-plugin-prettier eslint-plugin-promise eslint-plugin-react eslint-plugin-standard prettier
Then, add this to your .eslintrc file:
{
"extends": "koality"
}
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.
MIT. License (c) Code Koalas