This is a shared config for ESLint.
Install ESLint either locally or globally.
$ npm install eslint
Install Fiizy shared config:
$ npm install eslint-config-fiizy
All you really need to configure is the flavour of the configuration package. You use the rules by extending the shared config:
{
"extends": [
"fiizy"
]
}
There are currently 2 rulesets that you can extend:
-
"fiizy"
(or"fiizy/default"
): Default ES8 (ES2017) based rules. -
"fiizy/vue"
: Rules for Vue applications.