Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/outofsyncstudios/eslint-config

ESLint definitions for Out of Sync Studios
https://github.com/outofsyncstudios/eslint-config

Last synced: about 2 months ago
JSON representation

ESLint definitions for Out of Sync Studios

Awesome Lists containing this project

README

        

# eslint-config-ooss

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

## Installation
```shell
$ npm install @outofsyncstudios/eslint-config-ooss
```
or
```shell
$ 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.
```json
{
"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:
```json
{
"extends": [
"@outofsyncstudios/eslint-config",
"@outofsyncstudios/eslint-config/frontend-extension"
],
"rules": {
...
}
}
```