3.0.0 • Published 7 years ago

eslint-config-nimedev-node v3.0.0

Weekly downloads
1
License
MIT
Repository
github
Last release
7 years ago

eslint-config-nimedev-node

npm

An ESLint Shareable Config used in NodeJS applications based in Airbnb JavaScript Style Guide.

Installation

It requires eslint, eslint-config-airbnb-base and eslint-plugin-import

$ npm install eslint-config-nimedev-node eslint eslint-config-airbnb-base eslint-plugin-import

Usage

Set your eslint config to:

{
  "extends": "nimedev-node"
}

Note: I omitted the eslint-config- prefix since it is automatically assumed by ESLint.

Extending the config

Simply add a "rules" key to your config and add your overrides there.

For example, to change the indentation to tabs and turn off the no-console rule:

{
  "extends": "nimedev-node",
  "rules": {
    "indentation": "tab",
    "no-console": 0
  }
}

Changelog

License