eslint-config-nimedev-node

3.0.0 • Public • Published

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

Package Sidebar

Install

npm i eslint-config-nimedev-node

Weekly Downloads

1

Version

3.0.0

License

MIT

Last publish

Collaborators

  • nimedev