@sparkbox/eslint-config-sparkbox
v3.0.0
Published
A set of eslint customizations that we use at Sparkbox.
Downloads
16
Readme
@sparkbox/eslint-config-sparkbox
A sharable ESLint config that we use at Sparkbox. This config extends the Airbnb config and includes rule support for:
Usage
npm install --save-dev @sparkbox/eslint-config-sparkbox
or
yarn add @sparkbox/eslint-config-sparkbox --dev
Use extends syntax in your .eslintrc
file:
{
"extends": ["@sparkbox/eslint-config-sparkbox"]
}
Install necessary plugins
npm i -D eslint eslint-config-airbnb eslint-plugin-jsx-a11y eslint-plugin-react eslint-plugin-import eslint-plugin-flowtype babel-eslint
Note: Depending on your editor setup you may need eslint-cli installed globally via npm i eslint-cli -g
.