diff --git a/.prettierignore b/.prettierignore deleted file mode 100644 index 77134df..0000000 --- a/.prettierignore +++ /dev/null @@ -1,14 +0,0 @@ -node_modules - -# unplugin-auto-import 生成的类型文件,每次提交都改变,所以加入这里吧,与 .gitignore 配合使用 -auto-import.d.ts - -# vite-plugin-uni-pages 生成的类型文件,每次切换分支都一堆不同的,所以直接 .gitignore -uni-pages.d.ts - -# 插件生成的文件 -src/pages.json -src/manifest.json - -# 忽略自动生成文件 -src/service/app/** diff --git a/.prettierrc.cjs b/.prettierrc.cjs deleted file mode 100644 index 448279e..0000000 --- a/.prettierrc.cjs +++ /dev/null @@ -1,19 +0,0 @@ -// @see https://prettier.io/docs/en/options -module.exports = { - singleQuote: true, - printWidth: 100, - tabWidth: 2, - useTabs: false, - semi: false, - trailingComma: 'all', - endOfLine: 'auto', - htmlWhitespaceSensitivity: 'ignore', - overrides: [ - { - files: '*.{json,jsonc}', - options: { - trailingComma: 'none', - }, - }, - ], -} diff --git a/.vscode/settings.json b/.vscode/settings.json index ac73327..fea52c8 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -1,52 +1,10 @@ { - // 默认格式化工具选择prettier - "editor.defaultFormatter": "esbenp.prettier-vscode", - - // 配置stylelint检查的文件类型范围 - "stylelint.validate": ["css", "scss", "vue", "html"], // 与package.json的scripts对应 - "stylelint.enable": true, - "css.validate": false, - "less.validate": false, - "scss.validate": false, - "[shellscript]": { - "editor.defaultFormatter": "foxundermoon.shell-format" - }, - "[dotenv]": { - "editor.defaultFormatter": "foxundermoon.shell-format" - }, - "[vue]": { - "editor.defaultFormatter": "esbenp.prettier-vscode" - }, - "[typescript]": { - "editor.defaultFormatter": "esbenp.prettier-vscode" - }, - "[jsonc]": { - "editor.defaultFormatter": "esbenp.prettier-vscode" - }, // 配置语言的文件关联 "files.associations": { "pages.json": "jsonc", // pages.json 可以写注释 "manifest.json": "jsonc" // manifest.json 可以写注释 }, - "cSpell.words": [ - "Aplipay", - "climblee", - "commitlint", - "dcloudio", - "iconfont", - "oxlint", - "qrcode", - "refresherrefresh", - "scrolltolower", - "tabbar", - "Toutiao", - "unibest", - "uview", - "uvui", - "Wechat", - "WechatMiniprogram", - "Weixin" - ], + "typescript.tsdk": "node_modules\\typescript\\lib", "explorer.fileNesting.enabled": true, "explorer.fileNesting.expand": false, @@ -57,16 +15,6 @@ "eslint.config.mjs": ".commitlintrc.*,.prettier*,.editorconfig,.commitlint.cjs,.eslint*" }, - // // 保存的时候自动格式化 - // "prettier.enable": true, - // "editor.formatOnSave": true, - // // 开启自动修复 - // "editor.codeActionsOnSave": { - // "source.fixAll": "explicit", - // "source.fixAll.eslint": "explicit", - // "source.fixAll.stylelint": "explicit" - // }, - // Disable the default formatter, use eslint instead "prettier.enable": false, "editor.formatOnSave": false, @@ -115,5 +63,24 @@ "scss", "pcss", "postcss" + ], + "cSpell.words": [ + "Aplipay", + "climblee", + "commitlint", + "dcloudio", + "iconfont", + "oxlint", + "qrcode", + "refresherrefresh", + "scrolltolower", + "tabbar", + "Toutiao", + "unibest", + "uview", + "uvui", + "Wechat", + "WechatMiniprogram", + "Weixin" ] } diff --git a/LICENSE b/LICENSE index 9c3438e..9e91d10 100644 --- a/LICENSE +++ b/LICENSE @@ -1,6 +1,6 @@ MIT License -Copyright (c) 2024 菲鸽 +Copyright (c) 2025 菲鸽 Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/README.md b/README.md index 18934b4..c088199 100644 --- a/README.md +++ b/README.md @@ -1,11 +1,11 @@
-
+