An eslint configuration for Rock Kit.
Install eslint
yarn add eslint --dev
yarn add eslint-plugin-rock-kit --dev
Use our preset to get reasonable defaults:
"extends": [
"eslint:recommended",
"plugin:rock-kit/recommended"
]
If you do not use a preset you will need to specify individual rules and add extra configuration.
Add "rock-kit" to the plugins section.
{
"plugins": [
"rock-kit"
]
}
Enable the rules that you would like to use.
"rules": {
"inst/no-relative-package-imports": "error"
}