The official Muban eslint configurations.
This configuration uses the Media.Monks eslint configuration with some small tweaks, together with the addition of lit and lit-a11y plugins to support the Muban templates.
configuration | |
---|---|
base |
The configuration has a number of peer dependencies that must be installed.
npm i --dev @muban/eslint-config
Note for
yarn
users: See the package readme.
Now you can add @muban/eslint-config
to your package.json
.
{
"eslintConfig": {
"extends": "@muban/eslint-config",
"parserOptions": {
"project": "./tsconfig.json"
}
}
}
Adding
parserOptions.project
is only required if your project is using TypeScript.