The set of configuration files for ESLint for our team.
npm install @sullenor/eslint-config-partner
Add to your package.json
file:
"eslintConfig": {
"extends": "@sullenor/eslint-config-partner"
},
Create file .eslintrc.json
in your project directory with the following content:
{
"extends": "@sullenor/eslint-config-partner"
}
react
— designed for react, flowtype and jest.server
— designed for nodejs environment.static
— designed for es5 mostly.
Example:
{
"extends": "@sullenor/eslint-config-partner/react"
}
The MIT License