feat: init

This commit is contained in:
landaiqing
2024-07-10 10:15:16 +08:00
commit cba745729f
45 changed files with 11140 additions and 0 deletions

17
.lintstagedrc Normal file
View File

@@ -0,0 +1,17 @@
{
"*.{md,json}": [
"prettier --cache --write"
],
"*.{js,jsx}": [
"max lint --fix --eslint-only",
"prettier --cache --write"
],
"*.{css,less}": [
"max lint --fix --stylelint-only",
"prettier --cache --write"
],
"*.ts?(x)": [
"max lint --fix --eslint-only",
"prettier --cache --parser=typescript --write"
]
}