GitbookIO / eslint-config-gitbook

GitBook's ESLint config, following our styleguide

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

License:Apache License 2.0


Languages

Language:JavaScript 100.0%