eslint-config-gitbook
v5.0.1
Published
GitBook's ESLint config, following our styleguide
Downloads
7,208
Readme
eslint-config-gitbook
This package provides GitBook's .eslintrc as an extensible shared config. It is mostly based on airbnb styleguide and setup with prettier to code format with eslint --fix
.
Installation
npm install eslint-config-gitbook --save-dev
With npm 5+, you can now install the package along with its peer dependencies easily:
npx install-peerdeps --dev eslint-config-gitbook
Usage
Add to your .eslintrc
:
{
"extends": "gitbook"
}