Installation
Install the package with
npm install @novo-electronique/eslint-config-novo --save-dev
Usage
Now add the config to either your package.json
:
{
"eslintConfig": {
"extends": "@novo-electronique/eslint-config-novo"
}
}
to your .eslintrc
:
{
"extends": "@novo-electronique/eslint-config-novo"
}
or .eslintrc.js
:
module.exports = {
extends: '@novo-electronique/eslint-config-novo',
}
Prettier Config
This is how you use or extend the @novo-electronique/eslint-config-novo
prettier config in your
app:
// prettierrc.js
module.exports = require('@novo-electronique/eslint-config-novo/prettier-config')