eslint-config-jinn
ESLint shareable config for the Jinn JavaScript style guide
Installation
$ npm install --save-dev eslint eslint-config-jinn
Usage
Once the eslint-config-jinn
package is installed, you can use it by specifying jinn
in the extends
section of your ESLint configuration.
{
"extends": "jinn",
"rules": {
// Additional, per-project rules...
}
}
jinn
config with eslint:recommended
Using the There are several rules in the eslint:recommended
ruleset that Jinn style is not opinionated about that you might want to enforce in your project.
To use Jinn style in conjunction with ESLint's recommended rule set, extend them both, making sure to list jinn
last:
{
"extends": ["eslint:recommended", "jinn"],
"rules": {
// Additional, per-project rules...
}
}
License
Apache-2 © Jinn