1.0.1 • Published 9 years ago
eslint-config-jinn v1.0.1
eslint-config-jinn
ESLint shareable config for the Jinn JavaScript style guide
Installation
$ npm install --save-dev eslint eslint-config-jinnUsage
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...
}
}Using the jinn config with eslint:recommended
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