Grayscale Games JavaScript Style - ESLint Shareable Config
npm install eslint-config-gg#### An ESLint Shareable Config for Grayscale Games
``bash`
npm install eslint-config-gg
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:
`bash`
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.