|
|
@@ -71,13 +71,14 @@
|
|
|
"type-check": "vue-tsc --noEmit",
|
|
|
"openapi-ts-request": "openapi-ts",
|
|
|
"prepare": "git init && husky",
|
|
|
- "lint:oxlint": "oxlint src/**/*.{ts,js,vue}"
|
|
|
+ "lint:oxlint": "oxlint src/**/*.{ts,js,vue}",
|
|
|
+ "lint:oxlint-fix": "oxlint --fix src/**/*.{ts,js,vue}"
|
|
|
},
|
|
|
"lint-staged": {
|
|
|
"**/*.{html,cjs,json,md,scss,css,txt}": [
|
|
|
"prettier --write --cache"
|
|
|
],
|
|
|
- "**/*.{js,ts,vue}": [
|
|
|
+ "**/*.{js,jsx,ts,tsx,vue,mjs,cjs,mts,cts}": [
|
|
|
"oxlint --fix",
|
|
|
"prettier --write --cache"
|
|
|
],
|