eslint-config-gpbl

eslint configs I use for my own projects

Usage no npm install needed!

<script type="module">
  import eslintConfigGpbl from 'https://cdn.skypack.dev/eslint-config-gpbl';
</script>

README

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