Skip to content

Latest commit

 

History

History
28 lines (19 loc) · 836 Bytes

README.md

File metadata and controls

28 lines (19 loc) · 836 Bytes

eslint-config-gitbook

NPM version Build Status

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"
}