15.0.0 • Published 2 years ago

eslint-config-kanmu v15.0.0

Weekly downloads
110
License
MIT
Repository
github
Last release
2 years ago

eslint-config-kanmu

Greenkeeper badge

NPM version Build Status Dependency Status DevDependency Status License

ESLint configurations for Kanmu.

Installation

npm install --save-dev eslint eslint-config-kanmu

Usage

Add .eslintrc (YAML).

Summary

  • Base
    • kanmu: ES2015
    • kanmu/es5: ES5
  • Optional
    • kanmu/browser: Browser env
    • kanmu/flow: for Flow
    • kanmu/flow-jsdoc: for JSDoc and Flow
    • kanmu/node: for Node.js env
    • kanmu/react: for React
    • kanmu/react-native: for React Native
    • kanmu/mocha: for Testing mocha

Examples

ES6 (Node.js)

extends:
  - kanmu
  - kanmu/node

ES5 (Browser)

extends:
  - kanmu/es5
  - kanmu/browser

React

extends:
  - kanmu
  - kanmu/browser
  - kanmu/react
Additional Requirements
npm install --save-dev eslint-plugin-react

React Native

extends:
  - kanmu
  - kanmu/react-native
Additional Requirements
npm install --save-dev eslint-plugin-react eslint-plugin-react-native

React Native with Flow

extends:
  - kanmu
  - kanmu/react-native
  - kanmu/flow
  - kanmu/flow-jsdoc
Additional Requirements
npm install --save-dev eslint-plugin-flowtype eslint-plugin-jsdoc eslint-plugin-react eslint-plugin-react-native eslint-plugin-import
15.0.0

2 years ago

14.0.0

3 years ago

13.0.0

6 years ago

12.0.1

7 years ago

12.0.0

8 years ago

11.0.0

8 years ago

10.0.0

8 years ago

9.1.0

8 years ago

9.0.3

8 years ago

9.0.2

8 years ago

9.0.1

8 years ago

9.0.0

8 years ago

8.0.0

9 years ago

7.0.0

9 years ago

6.0.0

9 years ago

5.0.0

9 years ago

4.0.0

9 years ago

3.0.0

9 years ago

2.0.0

9 years ago

1.0.0

9 years ago