eslint-config-gunpla
v1.0.0
Published
ESLint config for Gunpla FE team.
Downloads
2
Readme
eslint-config-gunpla
This package provides Gunpla's base JS .eslintrc as an extensible shared config.
Usage
eslint-config-gunpla
Our default export contains all of our ESLint rules, including ECMAScript 6.
First, install this package
npm install --save-dev eslint-config-gunpla eslint
Then add following contents to your .eslintrc file
{
"extends": "gunpla"
}
eslint-config-gunpla/legacy
For some legacy project using es5.
First, install this package
npm install --save-dev eslint-config-gunpla eslint
Then add following contents to your .eslintrc file
{
"extends": "gunpla/legacy"
}
eslint-config-gunpla/react
First, install this package and necessary plugins
npm install --save-dev eslint-config-gunpla eslint babel-eslint eslint-plugin-react eslint-plugin-import eslint-plugin-jsx-a11y
Then add following contents to your .eslintrc file
{
"extends": "gunpla/react"
}
License
MIT