This package has been deprecated

Author message:

Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

eslint-config-cellule

4.2.0 • Public • Published

eslint-config-cellule

This is a set of rules and configuration for eslint using Shareable Config.

Installation

$ npm install --save-dev eslint@~3.3.0 eslint-config-cellule

Usage

In your .eslintrc config, extends to this module with

{
  "extends": ["cellule"]
}

Available config files

  • "cellule/global.js": Default config (ie: extends: "cellule"). This contains mostly rules to prevent errors and covers best practices.
  • "cellule/frontend.js": Config for files targeted for the browser.
  • "cellule/babel.js": Config for when you use babel to compile your sources.
  • "cellule/chakra.js": Config when your host is ch.exe for ChakraCore.
  • "cellule/codestyle.js": Config covering mostly code style preferences.
  • "cellule/es2015.js": Config when your host supports es2015 without babel.
  • "cellule/node.js": Config targeting node environment.
  • "cellule/flow.js": Config when using flow.
    • babel-eslint: Parser supporting extended language features
    • eslint-plugin-flowtype: An eslint plugin that makes flow type annotations global variables and marks declarations as used
  • "cellule/react.js": Config when you use React in your sources.

Recommended order

In eslint Shareable Config the order in which you placed your extends impacts what will take precedence. Here's a recommended order for this package of rules. (You will rarely if ever need all of them in one project)

{
  "extends": [
    "cellule/global.js",
    "cellule/frontend.js",
    "cellule/node.js",
    "cellule/chakra.js",
    "cellule/codestyle.js",
    "cellule/es2015.js",
    "cellule/babel.js",
    "cellule/react.js",
    "cellule/flow.js"
  ]
}

Readme

Keywords

none

Package Sidebar

Install

npm i eslint-config-cellule

Weekly Downloads

2

Version

4.2.0

License

MIT

Last publish

Collaborators

  • cellule