15.0.0 • Published 3 years ago
eslint-config-kanmu v15.0.0
eslint-config-kanmu
ESLint configurations for Kanmu.
Installation
npm install --save-dev eslint eslint-config-kanmu
Usage
Add .eslintrc
(YAML).
Summary
- Base
kanmu
: ES2015kanmu/es5
: ES5
- Optional
kanmu/browser
: Browser envkanmu/flow
: for Flowkanmu/flow-jsdoc
: for JSDoc and Flowkanmu/node
: for Node.js envkanmu/react
: for Reactkanmu/react-native
: for React Nativekanmu/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
3 years ago
14.0.0
4 years ago
13.0.0
8 years ago
12.0.1
8 years ago
12.0.0
9 years ago
11.0.0
9 years ago
10.0.0
9 years ago
9.1.0
9 years ago
9.0.3
10 years ago
9.0.2
10 years ago
9.0.1
10 years ago
9.0.0
10 years ago
8.0.0
10 years ago
7.0.0
10 years ago
6.0.0
10 years ago
5.0.0
10 years ago
4.0.0
10 years ago
3.0.0
10 years ago
2.0.0
10 years ago
1.0.0
10 years ago