@cherihung/eslint-config-gatsby

ESLint rules for gatsby starter

Stats

stars 🌟issues ⚠️updated 🛠created 🐣size 🏋️‍♀️
50Feb 2, 2018Aug 7, 2017Minified + gzip package size for @cherihung/eslint-config-gatsby in KB

Readme

NPM version Dependency Status Dev Dependency Status

eslint-config-gatsby

ESLint rule configuration for Gatsby starter that I'm working on. http://eslint.org/docs/rules/

Plugins Used:

Usage

Install the configs by running:

npm install --save-dev eslint  @cherihung/eslint-config-gatsby

The plugins and parser used are dependencies of this project. No need to specify them separately in your project.

Then add the extends to your .eslintrc.js to use all the rules:

module.exports = {
  extends: ['@cherihung/gatsby'],
  rules: {
      //...
  }
}

Or specify only the pieces you want to extend:

module.exports = {
  extends: [
   'gatsby/core',
   'gatsby/import',
   'gatsby/babel',
   'gatsby/jsxally',
   'gatsby/react'
  ],
  rules: {
    //...
  }
}

If you find any bugs or have a feature request, please open an issue on github!

The npm package download data comes from npm's download counts api and package details come from npms.io.