Adds ESLint configuration for use in the node.js environment.
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.