@zaeyee/eslint-config
v1.0.0-beta.1
Published
Zaeyee's ESLint config.
Readme
@zaeyee/eslint-config
Zaeyee's ESLint config.
Usage
Install
pnpm add eslint @zaeyee/eslint-config -DConfig .eslintrc.js
module.exports = {
extends: '@zaeyee'
}Add script for package.json
For example:
{
"scripts": {
"lint": "eslint .",
"lint:fix": "eslint . --fix"
}
}Config VS Code auto fix
Install VS Code ESLint extension and create .vscode/settings.json
{
"editor.formatOnSave": true,
"editor.codeActionsOnSave": {
"source.fixAll": true
}
}