Skip to content

Latest commit

 

History

History
39 lines (34 loc) · 976 Bytes

README.md

File metadata and controls

39 lines (34 loc) · 976 Bytes

eslint-config-ooss

This is the Out of Sync Studios eslint common configuration for multiple Node development environments.

Installation

$ npm install @outofsyncstudios/eslint-config-ooss

or

$ yarn add @outofsyncstudios/eslint-config-ooss

Usage

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": {
    ...
  }
}