This package provides a ESLint shareable config for the Netvlies's JS coding style.
To make use of this config, install ESLint and this package as a development dependency of your project:
npm install eslint eslint-config-nvs --save-dev
Create a .eslintrc.*
config file:
module.exports = {
extends: 'nvs'
};
{
"extends": "nvs"
}
Or add the ESLint config to your package.json
:
{
"name": "project",
"eslintConfig": {
"extends": "nvs"
}
}
The default configuration supports ES2015 (ES6) code.
If you need to support legacy code, you can use the nvs/legacy
config:
{
"extends": "nvs/legacy"
}
npm version [<newversion> | major | minor | patch | premajor | preminor | prepatch | prerelease | from-git]
npm publish
Read the Changelog
MIT © Netvlies