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"
}

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
0.2.41latest

Version History

VersionDownloads (Last 7 Days)Published
0.2.41
0.2.30
0.2.20
0.2.11
0.2.00
0.1.10
0.1.00

Package Sidebar

Install

npm i eslint-config-commandp

Weekly Downloads

2

Version

0.2.4

License

MIT

Last publish

Collaborators

  • annotis