0.1.0 • Published 6 years ago

eslint-config-plat v0.1.0

Weekly downloads
1
License
MIT
Repository
github
Last release
6 years ago

Installation

# NPM
$ npm install --save-dev eslint eslint-config-plat
# Yarn
$ yarn add -D eslint eslint-config-plat

Usage

Once the eslint-config-plat package is installed, you can use it by specifying plat in the extends section of your ESLint configuration.

{
  "extends": "plat",
  "rules": {
    // Additional, per-project rules...
  }
}

Using the plat config with eslint:recommended

There are several rules in the eslint:recommended ruleset that plat style is not opinionated about that you might want to enforce in your project.

To use plat style in conjunction with ESLint's recommended rule set, extend them both, making sure to list plat last:

{
  "extends": ["eslint:recommended", "plat"],
  "rules": {
    // Additional, per-project rules...
  }
}

License

Provided under the terms of the MIT License.

Copyright © 2017, PLAT.