@hidoo/eslint-config

Sharable eslint config for my projects.

Stats

StarsIssuesVersionUpdatedCreatedSize
@hidoo/eslint-config
0140.6.0a year ago3 years agoMinified + gzip package size for @hidoo/eslint-config in KB

Readme

@hidoo/eslint-config

Status

Sharable eslint config for my projects.

Installation

$ npm install --save-dev eslint @hidoo/eslint-config

Usage

basic

module.exports = {
  'extends': [
    '@hidoo/eslint-config'
  ]
};

with babel-eslint

module.exports = {
  'extends': [
    '@hidoo/eslint-config',
    '@hidoo/eslint-config/+babel'
  ]
};

for Mocha

module.exports = {
  'extends': [
    '@hidoo/eslint-config'
  ],
  'overrides': [
    {
      'files': ['**/*.test.js'],
      'extends': ['@hidoo/eslint-config/+mocha']
    }
  ]
};

for Node

module.exports = {
  'extends': [
    '@hidoo/eslint-config'
  ],
  'overrides': [
    {
      'files': ['path/to/**/*.js'],
      'extends': ['@hidoo/eslint-config/+node']
    }
  ]
};

Test

$ yarn test

License

MIT

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.