mirror of
https://gitee.com/wot-design-uni/wot-design-uni.git
synced 2025-12-06 17:18:40 +08:00
chore: 🚀 pre-commit增加vue-tscvue-tsc校验
This commit is contained in:
parent
201e7a12b9
commit
2dcda5f40c
0
.husky/commit-msg
Normal file → Executable file
0
.husky/commit-msg
Normal file → Executable file
0
.husky/pre-commit
Normal file → Executable file
0
.husky/pre-commit
Normal file → Executable file
@ -130,7 +130,8 @@
|
|||||||
"ios >= 9"
|
"ios >= 9"
|
||||||
],
|
],
|
||||||
"lint-staged": {
|
"lint-staged": {
|
||||||
"*.{js,ts,vue}": "eslint --fix --ext .js,.vue,.ts src"
|
"*.{js,ts,vue}": "eslint --fix --ext .js,.vue,.ts src",
|
||||||
|
"*.{ts,vue}": "vue-tsc --noEmit"
|
||||||
},
|
},
|
||||||
"uni-app": {
|
"uni-app": {
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
|||||||
@ -1,12 +1,3 @@
|
|||||||
<!--
|
|
||||||
* @Author: weisheng
|
|
||||||
* @Date: 2023-03-09 19:23:03
|
|
||||||
* @LastEditTime: 2023-08-16 00:02:08
|
|
||||||
* @LastEditors: weisheng
|
|
||||||
* @Description:
|
|
||||||
* @FilePath: \wot-design-uni\src\App.vue
|
|
||||||
* 记得注释
|
|
||||||
-->
|
|
||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
import { onLaunch, onShow, onHide, onThemeChange } from '@dcloudio/uni-app'
|
import { onLaunch, onShow, onHide, onThemeChange } from '@dcloudio/uni-app'
|
||||||
import { useDark } from './store'
|
import { useDark } from './store'
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user