Usage
Install
pnpm add -D eslint @mmc-cloud/eslint-config
.eslintrc
Config {
"extends": "@mmc-cloud/eslint-config"
}
You don't need
.eslintignore
normally as it has been provided by the preset.
Add script for package.json
For example:
{
"scripts": {
"lint": "eslint .",
"lint:fix": "eslint . --fix"
}
}