Grayscale Games - ESLint Shareable Config
Shareable Config for Grayscale Games
An ESLintInstall
npm install eslint-config-gg
Usage
Shareable configs are designed to work with the extends
feature of .eslintrc.json
files.
You can learn more about
Shareable Configs on the
official ESLint website.
To use the Grayscale Games shareable config, first run this:
npm install --save-dev eslint eslint-config-gg
Then, add this to your .eslintrc.json
file:
{
"extends": "gg"
}
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.json
file.