0.1.0 • Published 8 years ago
eslint-config-plat v0.1.0
Installation
# NPM
$ npm install --save-dev eslint eslint-config-plat
# Yarn
$ yarn add -D eslint eslint-config-platUsage
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.
0.1.0
8 years ago