eslint-config-gg-base
v1.0.0
Published
A customised eslint config using Airbnb's base JS .eslintrc as an extensible shared config.
Downloads
5
Readme
eslint-config-gg-base
A customised eslint config using Airbnb's base JS .eslintrc as an extensible shared config.
Why?
For most Airbnb's eslint-config-airbnb-base is sufficient. When that is not enough it is easy to extend those rules in .eslintrc but doing it for multiple project all the time is a tedious job. To keep things DRY a simple small module is very useful hence the eslint-config-gg-base
Usage
eslint-config-gg-base contains all of our ESLint rules from eslint-config-airbnb-base, including ECMAScript 6+. It requires eslint
and eslint-plugin-import
.
npm install --save-dev eslint eslint-plugin-import eslint-config-gg-base
- Add "extends": "gg-base" to your .eslintrc