chore: use @utoo/lint - #13415
Merged
Merged
Conversation
fireairforce
force-pushed
the
zoomdong/try-utoo-lint
branch
from
August 13, 2026 10:28
407ccc1 to
1dbe7f3
Compare
Deploying umi with
|
| Latest commit: |
489ab96
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://af40732b.umi-doo.pages.dev |
| Branch Preview URL: | https://zoomdong-try-utoo-lint.umi-doo.pages.dev |
@utoo/lint to replace eslint
|
Size Change: 0 B Total Size: 10.1 MB ℹ️ View Unchanged
|
fireairforce
marked this pull request as ready for review
August 13, 2026 10:32
@utoo/lint to replace eslint@utoo/lint
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
@utoo/lint@0.2.7utlint.config.tsutoo-linton staged JavaScript and TypeScript files after their existing Prettier tasklintjob to the main CI workflowWhy
Umi exposes
umi lintfor user projects, but the root repository did not previously have a lint script or CI lint gate. This adds a fast repository lint path without changing the framework-facingumi lintpackage. Staged script files are checked by the existing Husky/lint-staged pre-commit flow, and pull requests run the same repository lint in CI.Validation
pnpm exec utoo-lint --version—v0.2.7pnpm lint— 881 files checked, 8 existing warnings, exit code 0debuggerfailed withno-debugger; the same file passed after removing it, with Prettier running beforeutoo-lintactionlinton.github/workflows/ci.yml(excluding pre-existing v3 action and SC2086 warnings from the build job)pnpm exec prettier package.json .github/workflows/ci.yml --checkpnpm exec tsc --noEmit --pretty false --skipLibCheck --ignoreConfig utlint.config.tsgit diff --checkno-unreachableminimal reproduction from no-unreachable false positive after try/catch with conditional rethrow utooland/utoo-lint#1051 produces zero diagnostics