@coorpacademy/eslint-plugin-coorpacademy

Common ESLint config for Coorpacademy projects

Stats

StarsIssuesVersionUpdatedCreatedSize
@coorpacademy/eslint-plugin-coorpacademy
6810.3.14 months ago5 years agoMinified + gzip package size for @coorpacademy/eslint-plugin-coorpacademy in KB

Readme

Coorpacademy ESLint plugin

npm travis License: MIT

CoorpAcademy's ESLint rules and configs.

Installation

npm install --save-dev eslint @coorpacademy/eslint-plugin-coorpacademy

Usage

This package provides multiple configuration for different purposes, that you can apply together in you project as needed. To use them, set the extends key of your .eslintrc file and add @coorpacademy/coorpacademy to your list of plugins.

{
  "extends": [
    "plugin:@coorpacademy/coorpacademy/core",
    "plugin:@coorpacademy/coorpacademy/mocha",
    "plugin:@coorpacademy/coorpacademy/ava",
    "..."
  ],
  "plugins": [
    "@coorpacademy/coorpacademy"
  ]
}

Available rule sets are:

  • ava: Rules for when using AVA
  • core: Shared ESLint rules
  • es20XX: Rules for when using ES2015+ syntax
  • flowtype: Rules for when using Flowtype
  • lodash-fp: Rules for when using Lodash's FP flavor
  • mocha: Rules for when using Mocha
  • prettier: Disables all stylistic rules but adds source code auto-formatting.
  • react: Rules for when using 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.