Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

@dominicbarnes/eslint-config-node

ESLint configuration for use in node projects

readme

@dominicbarnes/eslint-config-node

Adds ESLint configuration for use in the node.js environment.

Usage

In a .eslintrc, add the following:

{
  "extends": [
    "@dominicbarnes",
    "@dominicbarnes/node"
  ]
}

This assumes node@4.x, and adds the ecmaFeatures that are supported according to the ES6 documentation.

This also intentionally leaves out @dominicbarnes as the base plugin, so it needs to be added to any project's root .eslintrc manually.