Skip to content

Commit deb4efb

Browse files
committed
linter
1 parent 795aa1a commit deb4efb

50 files changed

Lines changed: 3050 additions & 2569 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/.markdownlint.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
MD013: false
22
MD033: false
3-
MD046: false
3+
MD046: false

.github/workflows/build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@ jobs:
2727
- name: Setup Node.js
2828
uses: actions/setup-node@v4
2929
with:
30-
node-version: '20'
31-
cache: 'pnpm'
30+
node-version: "20"
31+
cache: "pnpm"
3232

3333
- name: Install dependencies
3434
run: pnpm install --frozen-lockfile

.github/workflows/check.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@ name: Markdown Quality Check
22

33
on:
44
push:
5-
branches: [ main ]
5+
branches: [main]
66
pull_request:
7-
branches: [ main ]
7+
branches: [main]
88

99
jobs:
1010
markdown-check:
@@ -18,8 +18,8 @@ jobs:
1818
- name: Markdown Lint
1919
uses: DavidAnson/markdownlint-cli2-action@v20
2020
with:
21-
config: '.github/.markdownlint.yaml'
21+
config: ".github/.markdownlint.yaml"
2222
globs: |
2323
docs/**/*.md
2424
docs/*.md
25-
*.md
25+
*.md

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@ repos:
1313
name: autocorrect
1414
entry: autocorrect
1515
language: system
16-
args: ["--fix"]
16+
args: ["--fix"]

README.md

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ be very in-depth and continue interviewing me continually until it's complete, t
108108
- [Sora](https://apps.apple.com/us/app/sora-by-openai/id6744034028)
109109
- [Veo - Google DeepMind](https://deepmind.google/models/veo/)
110110
- Audio
111-
- 调用类:[ElevenLabs](https://elevenlabs.io), [火山引擎](https://www.volcengine.com/product/tts), [科大讯飞](https://www.xfyun.cn/services/smart-tts), [Fish Audio](https://fishspeech.net/zh), [OpenAI TTS](https://platform.openai.com/docs/guides/text-to-speech), [SiliconFlow](https://siliconflow.cn/), [腾讯云](https://cloud.tencent.com/product/tts), [阿里云百炼](https://ai.aliyun.com/nls/tts)
111+
- 调用类:[ElevenLabs](https://elevenlabs.io), [火山引擎](https://www.volcengine.com/product/tts), [科大讯飞](https://www.xfyun.cn/services/smart-tts), [Fish Audio](https://fishspeech.net/zh), [OpenAI TTS](https://platform.openai.com/docs/guides/text-to-speech), [SiliconFlow](https://siliconflow.cn/), [腾讯云](https://cloud.tencent.com/product/tts), [阿里云百炼](https://ai.aliyun.com/nls/tts)
112112
- 本地部署类:[EdgeTTS](https://github.com/rany2/edge-tts), [Fish Speech](https://github.com/fishaudio/fish-speech), [GPT-SoVITS V2](https://github.com/v3ucn/GPT-SoVITS-V2), [GPT-SoVITS V3](https://github.com/RVC-Boss/GPT-SoVITS), [Index-TTS](https://github.com/index-tts/index-tts), [PaddleSpeech](https://github.com/PaddlePaddle/PaddleSpeech)
113113

114114
## 工具
@@ -131,7 +131,7 @@ be very in-depth and continue interviewing me continually until it's complete, t
131131

132132
- [Next.js](https://nextjs.org/)
133133
- [TypeScript](https://github.com/microsoft/TypeScript)
134-
- [biome](https://github.com/biomejs/biome): 配置更简单、更快速的 linter/formater
134+
- [biome](https://github.com/biomejs/biome): Next.js 项目
135135
- [tailwindcss](https://github.com/tailwindlabs/tailwindcss)+[shadcn/ui](https://ui.shadcn.com/)
136136
- [tweakcn](https://tweakcn.com/editor/theme): 风格模版
137137
- [motion](https://github.com/motiondivision/motion): 动画库
@@ -196,6 +196,13 @@ npx create-next-app@latest my-app
196196
- [Drone CI](https://github.com/harness/drone)
197197
- [pre-commit](https://github.com/pre-commit/pre-commit):多语言 pre-commit hooks 管理框架
198198

199+
- Linter:
200+
- [eslint/eslint](https://github.com/eslint/eslint): JavaScript/TypeScript 静态分析
201+
- [prettier/prettier](https://github.com/prettier/prettier): 代码格式化
202+
- [biomejs/biome](https://github.com/biomejs/biome): 一体化 Linter & Formatter & Bundler(ESLint + Prettier 替代)
203+
- [markdownlint](https://github.com/DavidAnson/markdownlint): Markdown 静态分析
204+
- [autocorrect](https://github.com/huacnlee/autocorrect): CJK 排版自动修正
205+
199206
### 运维与监控
200207

201208
- [Logfire](https://logfire.pydantic.dev/):Python 日志分析与可视化

0 commit comments

Comments
 (0)