From 24e04bde3be65caed45f8a4ba54efa3667cc1faf Mon Sep 17 00:00:00 2001 From: Acbox Date: Thu, 19 Mar 2026 13:50:39 +0800 Subject: [PATCH] chore: remove typos spell checker --- .github/workflows/typos.yml | 30 ------------------------------ AGENTS.md | 4 +--- mise.toml | 2 -- typos.toml | 7 ------- 4 files changed, 1 insertion(+), 42 deletions(-) delete mode 100644 .github/workflows/typos.yml delete mode 100644 typos.toml diff --git a/.github/workflows/typos.yml b/.github/workflows/typos.yml deleted file mode 100644 index b1d3c8b4..00000000 --- a/.github/workflows/typos.yml +++ /dev/null @@ -1,30 +0,0 @@ -name: Spell Check - -on: - push: - branches: [main] - pull_request: - branches: [main] - -concurrency: - group: ${{ github.workflow }}-${{ github.ref }} - cancel-in-progress: true - -jobs: - typos: - runs-on: ubuntu-latest - timeout-minutes: 30 - steps: - - uses: actions/checkout@v4 - with: - persist-credentials: false - - name: Check for typos - uses: crate-ci/typos@v1.43.4 - - name: Typos info - if: failure() - run: | - echo 'To check for a diff, run `mise x typos -- typos --diff`' - echo 'To fix typos, please run `mise x typos -- typos -w`' - echo 'You can find typos here: https://crates.io/crates/typos' - echo 'if you use VSCode, you can also install `Typos Spell Checker`' - echo 'You can find the extension here: https://marketplace.visualstudio.com/items?itemName=tekumara.typos-vscode' diff --git a/AGENTS.md b/AGENTS.md index 4e43540d..84ca918b 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -50,7 +50,6 @@ Infrastructure dependencies: - **Package Managers**: pnpm (frontend monorepo), Go modules (backend) - **Linting**: golangci-lint (Go), ESLint + typescript-eslint + vue-eslint-parser (TypeScript) - **Testing**: Vitest -- **Typo Checker**: typos - **Version Management**: bumpp - **SDK Generation**: @hey-api/openapi-ts @@ -170,8 +169,7 @@ Memoh/ ├── bump.config.ts # Version bumping config (bumpp) ├── vitest.config.ts # Test framework config (Vitest) ├── tsconfig.json # TypeScript monorepo config -├── eslint.config.mjs # ESLint config -└── typos.toml # Typo checker config +└── eslint.config.mjs # ESLint config ``` ## Development Guide diff --git a/mise.toml b/mise.toml index ff48dc0c..9e7a37a5 100644 --- a/mise.toml +++ b/mise.toml @@ -11,8 +11,6 @@ bun = "latest" pnpm = "10" # sqlc for sql management sqlc = "latest" -# typos for spell check -typos = "latest" # golangci-lint for Go linting "golangci-lint" = "2.10.1" diff --git a/typos.toml b/typos.toml deleted file mode 100644 index 652e5f6d..00000000 --- a/typos.toml +++ /dev/null @@ -1,7 +0,0 @@ -[default.extend-words] - -[files] -extend-exclude = [ - "**/node_modules/**", - "**/voices.json", -] \ No newline at end of file