eslint-config-ilemon
v0.1.3
Published
eslint eslingconfig
Downloads
7
Readme
eslint-config-ilemon
An ESLint Shareable Config.
Install
npm i eslint-config-ilemon -D
Useage
Install peerDependencies:
npm i eslint babel-eslint eslint-plugin-import eslint-plugin-jest eslint-plugin-sonarjs -D
If you use it in react project, then install additional peerDependencies:
npm i eslint-plugin-react eslint-plugin-jsx-a11y eslint-config-airbnb -D
Then, add this to your .eslintrc.js
file:
module.exports = {
extends: ['ilemon']
}
// react project
module.exports = {
extends: ['ilemon/react']
}