Skip to content

GitbookIO/eslint-config-gitbook

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

54 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

GitBook's ESLint config, following our styleguide

Resources

License

Stars

Watchers

Forks

Packages

No packages published