feat: .husky & format
This commit is contained in:
parent
ebe968a23c
commit
37712f726a
|
@ -17,7 +17,7 @@ module.exports = {
|
|||
segment: true
|
||||
},
|
||||
rules: {
|
||||
eqeqeq: ['off'],
|
||||
'eqeqeq': ['off'],
|
||||
'prefer-const': ['off'],
|
||||
'arrow-body-style': 'off'
|
||||
}
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
npm run format
|
|
@ -12,4 +12,4 @@
|
|||
"endOfLine": "auto",
|
||||
"quoteProps": "consistent",
|
||||
"vueIndentScriptAndStyle": true
|
||||
}
|
||||
}
|
||||
|
|
|
@ -16,7 +16,6 @@
|
|||
|
||||
该版本将支持TS、TSX环境,提供Miao-Yunzai完全的类型声明及其开发文档。
|
||||
|
||||
|
||||
## 新版目录
|
||||
|
||||
- 核心源码
|
||||
|
@ -25,7 +24,7 @@ src/core
|
|||
|
||||
- 接口板块
|
||||
|
||||
src/mts
|
||||
src/mys
|
||||
|
||||
- 工具类
|
||||
|
||||
|
@ -74,7 +73,7 @@ node --no-warnings=ExperimentalWarning --loader ts-node/esm alemon.config.ts
|
|||
## 致谢
|
||||
|
||||
| Nickname | Contribution |
|
||||
|:-------------------------------------------------------------:|------------------|
|
||||
| :-----------------------------------------------------------: | -------------------- |
|
||||
| [Yunzai v3.0](https://gitee.com/le-niao/Yunzai-Bot) | 乐神的Yunzai-Bot V3 |
|
||||
| [GardenHamster](https://github.com/GardenHamster/GenshinPray) | 模拟抽卡背景素材来源 |
|
||||
| [西风驿站](https://bbs.mihoyo.com/ys/collection/839181) | 角色攻略图来源 |
|
||||
|
|
|
@ -9,7 +9,8 @@
|
|||
"app": "ts-node app.js",
|
||||
"dev": "ts-node app.js dev",
|
||||
"login": "ts-node app.js login",
|
||||
"format": "prettier --write ."
|
||||
"format": "prettier --write .",
|
||||
"prepare": "husky"
|
||||
},
|
||||
"dependencies": {
|
||||
"art-template": "^4.13.2",
|
||||
|
|
|
@ -1 +1 @@
|
|||
export * from "#miao"
|
||||
export * from '#miao'
|
||||
|
|
|
@ -18,7 +18,6 @@
|
|||
"transpileOnly": true,
|
||||
"experimentalSpecifierResolution": "node"
|
||||
},
|
||||
"include": ["plugins", "lib","src"],
|
||||
"include": ["plugins", "lib", "src"],
|
||||
"exclude": ["node_modules"]
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue