eslint-config-gpbl

1.0.2 • Public • Published

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

Dependents (0)

Package Sidebar

Install

npm i eslint-config-gpbl

Weekly Downloads

2

Version

1.0.2

License

ISC

Last publish

Collaborators

  • gpbl