This is the Out of Sync Studios eslint common configuration for multiple Node development environments.
$ npm install @outofsyncstudios/eslint-config-ooss
or
$ yarn add @outofsyncstudios/eslint-config-ooss
This eslint config plugin provides a common environment and one extension for front-end specific rules.
To use this plugin install module as noted above and then edit the .eslintrc.json
file in the root of your project to look like below.
{
"extends": "@outofsyncstudios/eslint-config",
"rules": {
...
}
}
This will include the common
definitions. Note: Any addtional rules that appear in the rules section will override the base settings.
You can also specify to add the front-end extensions as follows:
{
"extends": [
"@outofsyncstudios/eslint-config",
"@outofsyncstudios/eslint-config/frontend-extension"
],
"rules": {
...
}
}