1.0.5 • Published 1 year ago
@mmc-cloud/eslint-config v1.0.5
Usage
Install
pnpm add -D eslint @mmc-cloud/eslint-config
Config .eslintrc
{
"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"
}
}