When using an npm 5+
npx install-peerdeps --dev @mobilabsolutions/eslint-config-node
If using npm < 5
To install this package and all its peer dependencies run:
(
export PKG=@mobilabsolutions/eslint-config-node;
npm info "$PKG@latest" peerDependencies --json | command sed 's/[\{\},]//g ; s/: /@/g' | xargs npm install --save-dev "$PKG@latest"
)
npm install -g install-peerdeps
install-peerdeps --dev @mobilabsolutions/eslint-config-node
Include the @mobilabsolutions/eslint-config-node
to the "extends" array in your .eslintrc.* file.\
You can easily override specific this settings eslint-plugin-node.
See http://eslint.org/docs/developer-guide/shareable-configs for more information.
{
"rules": {
"node/exports-style": "off"
}
}
See how to contribute Contributors Guide