feat: 新增git提交规范husky、lint-staged、commitlint
This commit is contained in:
parent
fec805fbfb
commit
04b9b1190b
@ -1,2 +0,0 @@
|
||||
#!/usr/bin/env sh
|
||||
. "$(dirname "$0")/husky.sh"
|
||||
@ -1,4 +0,0 @@
|
||||
#!/usr/bin/env sh
|
||||
. "$(dirname "$0")/husky.sh"
|
||||
|
||||
pnpm run fix
|
||||
@ -31,14 +31,6 @@
|
||||
"prepare": "husky install",
|
||||
"preinstall": "npx only-allow pnpm"
|
||||
},
|
||||
"lint-staged": {
|
||||
"src/**/*.{ts,vue}": [
|
||||
"eslint"
|
||||
],
|
||||
"test/**/*.{ts,tsx,js,vue}": [
|
||||
"eslint"
|
||||
]
|
||||
},
|
||||
"dependencies": {
|
||||
"@arco-design/color": "^0.4.0",
|
||||
"@codemirror/lang-javascript": "^6.2.2",
|
||||
|
||||
@ -8,8 +8,6 @@
|
||||
import { loadingPage } from "@/utils/loading-page";
|
||||
import { useThemeMethods } from "@/hooks/useThemeMethods";
|
||||
|
||||
let a = "12345323234";
|
||||
|
||||
// 初始化主题
|
||||
const onTheme = () => {
|
||||
let { initTheme } = useThemeMethods();
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user