1.0.2 • Published 10 years ago

eslint-config-gpbl v1.0.2

Weekly downloads
1
License
ISC
Repository
github
Last release
10 years ago

eslint-config-gpbl

eslint shareable configs I use for my own projects. Mainly stylistic rules.

npm install eslint-config-gpbl

npm version

Usage

Extend your .eslintrc with one of the following configurations:

base

This is my base config for generic projects. It extends the eslint:recommended config. (source)

{
  "extends": "gpbl"
}

es6

For projects in ECMAScript 6. It extends the base config. (source)

{
  "extends": "gpbl"
}

react+babel

This is the config I use for React projects with babeljs, universal apps compiled with webpack. It extends the es6 config. (source).

Requires npm install babel-eslint eslint-plugin-react --save-dev.

{
  "extends": "gpbl/babel+react"
}