Skip to content

sparkbox/eslint-config-sparkbox

Repository files navigation

@sparkbox/eslint-config-sparkbox

current release

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.

About

✅ A set of eslint customizations that we use at Sparkbox.

Resources

License

Stars

Watchers

Forks

Packages

No packages published