ESLint configuration for VG.no coding standard
First, install the npm package:
npm install --save-dev eslint-config-vgno
Then add the extends
option to your .eslintrc
:
{
"extends": "vgno"
}
Alternatively, you can specify this in your package.json:
{
"name": "...",
"other": "options",
"eslintConfig": {
"extends": "vgno"
}
}
You can override specific settings by specifying them as normal. See http://eslint.org/docs/developer-guide/shareable-configs for more details.