2024-06-26提交
Showing
... | @@ -98,9 +98,12 @@ | ... | @@ -98,9 +98,12 @@ |
], | ], | ||
"license": "MIT", | "license": "MIT", | ||
"lint-staged": { | "lint-staged": { | ||
"src/**/*.{js,vue}": [ | "**/*.{js,jsx,ts,tsx}": [ | ||
"eslint --fix", | "npm run lint-staged:js", | ||
"git add" | "prettier --write" | ||
], | |||
"**/*.{less,md,json}": [ | |||
"prettier --write" | |||
] | ] | ||
}, | }, | ||
"husky": { | "husky": { | ||
... | ... |
Please register or sign in to comment