提交格式化代码
This commit is contained in:
parent
102772075a
commit
d55b8b69cf
@ -1 +1,4 @@
|
||||
pnpm test
|
||||
#!/usr/bin/env sh
|
||||
. "$(dirname -- "$0")/_/husky.sh"
|
||||
|
||||
pnpm run format
|
||||
|
@ -13,7 +13,7 @@
|
||||
"lint:eslint": "eslint src/**/*.{ts,vue} --cache --fix",
|
||||
"lint:style": "stylelint src/**/*.{css,scss,vue} --cache --fix",
|
||||
"commitlint": "commitlint --config commitlint.config.cjs -e -V",
|
||||
"prepare": "husky"
|
||||
"prepare": "husky && husky install"
|
||||
},
|
||||
"dependencies": {
|
||||
"element-plus": "^2.10.3",
|
||||
@ -33,7 +33,7 @@
|
||||
"eslint-plugin-prettier": "^5.5.1",
|
||||
"eslint-plugin-vue": "^10.3.0",
|
||||
"globals": "^16.3.0",
|
||||
"husky": "^9.1.7",
|
||||
"husky": "^8.0.0",
|
||||
"postcss": "^8.5.6",
|
||||
"postcss-html": "^1.8.0",
|
||||
"postcss-scss": "^4.0.9",
|
||||
|
13
src/App.vue
13
src/App.vue
@ -1,13 +1,12 @@
|
||||
<script setup lang="ts">
|
||||
const a:number = 1
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<div>
|
||||
{{ a ? true : false}}
|
||||
|
||||
</div>
|
||||
</template>
|
||||
<script lang="ts" setup>
|
||||
|
||||
<style scoped lang="less">
|
||||
</script>
|
||||
<style scoped>
|
||||
|
||||
</style>
|
||||
|
||||
</style>
|
Loading…
x
Reference in New Issue
Block a user