Browse Source

bf

pull/58/head
zyronon 1 year ago
parent
commit
89aa50455e
  1. 3
      .husky/pre-commit
  2. 10
      package.json

3
.husky/pre-commit

@ -1,2 +1 @@ @@ -1,2 +1 @@
pnpm run format
pnpm run lint
npx lint-staged

10
package.json

@ -46,6 +46,14 @@ @@ -46,6 +46,14 @@
"unplugin-vue-define-options": "^1.4.1",
"vite": "4.5.3",
"vite-plugin-cdn-import": "0.3.5"
},
"lint-staged": {
"*.{js,ts,vue,jsx,tsx}": [
"eslint --fix",
"prettier --write"
],
"*.{scss,less,styl,html}": [
"prettier --write"
]
}
}

Loading…
Cancel
Save