eslint-config-commandp

0.2.4 • Public • Published

eslint-config-commandp

Usage

Export three ESLint configurations for usage.

ES6

Including ES6 eslint rules, base on eslint-config-standard. Requires eslint and babel-eslint.

  1. npm install --save-dev eslint-config-commandp babel-eslint eslint
  2. add "extends": "commandp" to your .eslintrc
{
  "extends": "commandp"
}

React

Lint ES6+ and React, base on eslint-config-airbnb. Requires eslint, babel-eslint and eslint-plugin-react.

  1. npm install --save-dev eslint-config-commandp eslint babel-eslint eslint-plugin-react
  2. add "extends": "commandp/react" to .eslintrc
{
  "extends": "commandp/react"
}

React Native

Lint ES6+, React and add some available global values for React Native.

  1. npm install --save-dev eslint-config-commandp eslint babel-eslint eslint-plugin-react
  2. add "extends": "commandp/react-native" to .eslintrc
{
  "extends": "commandp/react-native"
}

Dependencies (0)

    Dev Dependencies (0)

      Package Sidebar

      Install

      npm i eslint-config-commandp

      Weekly Downloads

      2

      Version

      0.2.4

      License

      MIT

      Last publish

      Collaborators

      • annotis