@ardentic/eslint-config-flair

Ardentic ESLint configuration settings

Stats

stars 🌟issues ⚠️updated 🛠created 🐣size 🏋️‍♀️
30Mar 5, 2018Aug 29, 2016Minified + gzip package size for @ardentic/eslint-config-flair in KB

Readme

Ardentic Flair - ESLint Shareable Config

An ESLint Shareable Config for Ardentic's JavaScript Coding Standard.

Install

npm install @ardentic/eslint-config-flair

Usage

To use the basic rules, extend the basic ruleset from your .eslintrc config.

{
  "extends": [
    "@ardentic/flair"
  ]
}

Available extensions to use:

  • @ardentic/flair - basic linting rules
  • @ardentic/flair/es6 - es6 linting rules
  • @ardentic/flair/node - node linting rules
  • @ardentic/flair/react - react linting rules
  • @ardentic/flair/browser - browser linting rules

The rules can be mixed and matched depending on what kind of environment you are about to lint.

NodeJS linting rules

{
  "extends": [
    "@ardentic/flair",
    "@ardentic/flair/node"
  ]
}

NodeJS ES6 linting rules

{
  "extends": [
    "@ardentic/flair",
    "@ardentic/flair/es6",
    "@ardentic/flair/node"
  ]
}

Browser ES6 linting rules

{
  "extends": [
    "@ardentic/flair",
    "@ardentic/flair/es6",
    "@ardentic/flair/browser"
  ]
}

React ES6 linting rules

{
  "extends": [
    "@ardentic/flair",
    "@ardentic/flair/es6",
    "@ardentic/flair/react"
  ]
}

If you find any bugs or have a feature request, please open an issue on github!

The npm package download data comes from npm's download counts api and package details come from npms.io.