This package provides a NodeJS with ES6 .eslintrc as an extensible shared config.
Since this package is a Eslint Sharing Config, it requires the npm package of eslint
and eslint-plugin-import
.
npm i -D eslint eslint-plugin-import eslint-config-nodejs
Then add the plugin in your .eslintrc like described in the eslint's documentation
{
"extends": [
"nodejs"
]
}
- add tests