@clearleft/eslint-config-clearleft

ESLint configuration to be shared across all Clearleft repositories

Stats

stars 🌟issues ⚠️updated 🛠created 🐣size 🏋️‍♀️
@clearleft/eslint-config-clearleft
Minified + gzip package size for @clearleft/eslint-config-clearleft in KB

Readme

eslint-config-clearleft

ESLint configuration to be shared across all Fractal repositories.

NPM Version

Overview

This package is an ESLint shareable config which can be used in conjunction with an ESLint based plugin such as xo, in order to help maintain consistent styles across a codebase.

"xo": {
  "extends": "@clearleft/eslint-config-clearleft"
}

Installation

Installation is via npm.

npm i @clearleft/eslint-config-clearleft

Usage

To use with xo, first ensure the package has been installed (see above) and then pass the package name to the the extends option in package.json:

{
  "name": "repo-name",
  ...
  },
  "devDependencies": {
    "@clearleft/eslint-config-clearleft": "0.1.0"
  },
  "xo": {
    "extends": "@clearleft/eslint-config-clearleft"
  }
}

Requirements

Node: >= 6.0.0

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.