0.1.8 • Published 5 years ago

eslint-config-akido v0.1.8

Weekly downloads
70
License
ISC
Repository
-
Last release
5 years ago

eslint-config-akido

This package provides Akido's .eslintrc as an extensible shared config.

The styleguide is based off AirBnB's with some modifications, such as added plugins (for Jest, Redux).

Usage

First, install it:

# Install the eslint configuration, babel-eslint parser, and eslint itself
yarn add --dev eslint eslint-config-akido babel-eslint

Once the package is installed, add "extends": "airbnb" to your .eslintrc.json, which should look like the following:

{
  "env": {
      "browser": true,
      "node": true,
      "jest": true
  },
  "extends": ["akido"],
  "parser": "babel-eslint"
}

Development

You can run the linter against the JS rules set by running yarn lint. The rule set will most likely not contain much code but it should be enough to check that your rule set is actually understood by eslint.

Find deprecated rules with yarn run eslint-find-rules -d.