vp check --no-lint still reports type-aware lint rules and ignores their disable comments
メンテナーはふだん 1 日以内に返信
@camc314 がすでに取り組んでいます。
2026年9月26日 から。
評価
この issue はまだ評価されていません。
説明
Describe the bug
vp check --no-lint is documented as "Skip lint rules; type-check still runs when lint.options.typeCheck is true". With typeAware and typeCheck enabled, though, it still reports type-aware lint rules, and it ignores their oxlint-disable comments. Plain vp check and vp lint both respect the comment, so the --no-lint run is the only one that fails.
Expected: --no-lint reports TypeScript diagnostics only.
Actual: type-aware rule diagnostics are reported (as errors), and disable directives have no effect.
I found this while moving a project to Vite+ 1.0.0-rc.1. The workaround is vp check --no-fmt, which runs the full lint as well.
Reproduction
Inline below, no repository needed.
Steps to reproduce
mkdir vp-no-lint && cd vp-no-lint && git init -q && mkdir src
printf 'node_modules\n' > .gitignore
cat > package.json <<'EOF'
{ "private": true, "type": "module",
"devDependencies": { "typescript": "6.0.3", "vite-plus": "1.0.0-rc.1" } }
EOF
cat > tsconfig.json <<'EOF'
{ "compilerOptions": { "strict": true, "module": "esnext", "moduleResolution": "bundler", "target": "esnext" }, "include": ["src"] }
EOF
cat > vite.config.ts <<'EOF'
import { defineConfig } from "vite-plus";
export default defineConfig({
lint: {
options: { typeAware: true, typeCheck: true },
rules: { "typescript/no-floating-promises": "error" },
},
});
EOF
cat > src/index.ts <<'EOF'
// oxlint-disable-next-line typescript/no-floating-promises -- fire and forget
Promise.resolve();
EOF
vp install
vp check --no-fmt # pass, exit 0
vp check --no-fmt --no-lint # fails, exit 1
$ vp check --no-fmt
pass: Found no warnings, lint errors, or type errors in 2 files (270ms, 8 threads)
$ vp check --no-fmt --no-lint
error: Type errors found
x typescript(no-floating-promises): Promises must be awaited, add void operator to ignore.
,-[src/index.ts:2:1]
1 | // oxlint-disable-next-line typescript/no-floating-promises -- fire and forget
2 | Promise.resolve();
: ^^^^^^^^|^^^^^^^^^
: `-- This unhandled promise-like value has type `Promise<void>`.
`----
Found 1 error and 0 warnings in 2 files (273ms, 8 threads)
This does not look like an Oxlint bug. Running vp lint -A all --type-aware --type-check on the same project reports nothing, and a real type error (const n: number = "x") is reported correctly by vp check --no-lint, next to the rule diagnostic above.
System Info
$ vp --version
vp v1.0.0-rc.1
Local vite-plus:
vite-plus v1.0.0-rc.1
Tools:
vite v8.3.1
rolldown v1.2.11
vitest v5.0.1
oxfmt v0.70.0
oxlint v1.85.0
oxlint-tsgolint v7.0.2003
tsdown v0.23.0
$ vp env current
Node.js:
Version 26.10.0
Source system PATH
Mode system_first
Package Manager:
Name pnpm
Version 12.6.0
Source system PATH
Mode system_first
macOS (arm64).
Used Package Manager
pnpm
Validations
- Read the Contributing Guidelines.
- Checked that there isn't already an issue for the same bug.
- Confirmed this is a Vite+ issue and not an upstream issue (Oxlint alone behaves correctly, see above).
- The reproduction is a minimal reproducible example.
- 主要言語
- Rust
- スター
- 5.8k
- フォーク
- 267
- 平均マージ
- 21時間 10分
- マージ済み PR(30日)
- 148
環境構築
このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
voidzero-dev/vite-plus のほかの issue
-
pending triage
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
voidzero-dev/vite-plus#2801 · リアクション 1 件 ·
メンテナーはふだん 1 日以内に返信
-
enhancement
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
voidzero-dev/vite-plus#2097 · コメント 10 件 · リアクション 2 件 ·
メンテナーはふだん 1 日以内に返信
-
vp run: task output forwarding aborts with EAGAIN when stdout turns non-blocking mid-run (follow-up to #2165)対応中かも @naokihaba が 2 日前に担当しました。 オープンbug
voidzero-dev/vite-plus#2824 · コメント 3 件 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
-
pending triage
難易度 4/5 3〜5日 初心者へのやさしさ 55/100
voidzero-dev/vite-plus#2816 ·
メンテナーはふだん 1 日以内に返信
-
`vp pack --watch`: changes to pack config are not applied until restart対応中かも @liangmiQwQ が 2 日前に担当しました。 オープンbug
難易度 3/5 1〜2日 初心者へのやさしさ 55/100
voidzero-dev/vite-plus#2811 · コメント 1 件 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
voidzero-dev/vite-plus の issue をすべて見る
似ている issue
-
`sysknife history --help` says --since takes ISO-8601, and the parser refuses offsets and bare datesオープンbug easy good first issue help wanted
難易度 1/5 1〜3時間 初心者へのやさしさ 94/100
lacs-project/sysknife#519 ·
メンテナーはふだん 1 日以内に返信
-
enhancement
難易度 1/5 1時間未満 初心者へのやさしさ 72/100
-
area:breg bug criticality:p3 triage:needs-implementation
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
registrystack/registry-stack#1699 ·
メンテナーはふだん 1 日以内に返信
-
documentation
難易度 1/5 1〜3時間 初心者へのやさしさ 84/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
lbjlaq/Antigravity-Manager#3539 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信