You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ npx oxlint foo.ts
⚠ eslint(no-unused-vars): Variable 'idx' is declared but never used.
╭─[foo.ts:2:8]
1 │ exportfunctionupdateDiffStats(stats, diff, childCount) {
2 │ const idx = getChildCountIdx(childCount);
· ─┬─
· ╰── 'idx' is declared here
3 │ if (diff === 1) {
╰────
help: Consider removing this declaration.
Finished in 3ms on 1 file with 94 rules using 10 threads.
Found 1 warning and 0 errors.
The text was updated successfully, but these errors were encountered:
Steps to reproduce
foo.ts
with these contents:npx oxlint foo.ts
Output:
The text was updated successfully, but these errors were encountered: