eslint-config-jinn

1.0.1 • Public • Published

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...
  }
}

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

Package Sidebar

Install

npm i eslint-config-jinn

Weekly Downloads

1

Version

1.0.1

License

Apache-2.0

Last publish

Collaborators

  • anderconal
  • jonkepa.jinn