@coorpacademy/eslint-plugin-coorpacademy

14.0.0 • Public • Published

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

Readme

Keywords

none

Package Sidebar

Install

npm i @coorpacademy/eslint-plugin-coorpacademy

Weekly Downloads

1,673

Version

14.0.0

License

MIT

Unpacked Size

41.7 kB

Total Files

20

Last publish

Collaborators

  • huynguyen9898
  • yasmine.abdelkefi
  • wernerd
  • antonia.balluais
  • youssef.ezzahi
  • emeline75
  • ghazicoorpacademy
  • silou
  • coorpadmin
  • esa-coorp
  • adriean.khisbe
  • adamska27
  • audric-coorp
  • djamelsoualmi
  • stefanocoorp
  • emorana
  • dfazage