#JavaScript linting rules and dependencies in one module.
npm i -D eslint-config-ninja
{
"eslintConfig": {
"extends": "ninja"
}
}
{
"scripts": {
"lint": "eslint . --fix"
}
}
npm run lint
For more details, see ESLint's Shareable Configs.