index.ts.oxc error on any and const one = 1 (coming from eslint-plugin-prefer-let).pnpm remove eslint-plugin-prefer-let (this dependencies still exists as nested dependency of @logux/oxc-configs).Actual: No inline errors in index.ts.
Expected: The same errors as in pnpm oxlint.
$ pnpm oxlint
× typescript-eslint(no-explicit-any): Unexpected `any`. Specify a different type.
╭─[index.ts:3:20]
2 │
3 │ export const test: any = one;
· ───
╰────
help: Use `unknown` instead, this will force you to explicitly, and safely, assert the type is correct.
× prefer-let(prefer-let): `const` declaration for non-constant names at top-level scope. Use `let` or rename to UPPER_CASE
╭─[index.ts:1:1]
1 │ const one = 1;
· ──────────────
2 │
╰────
Found 0 warnings and 2 errors.
Finished in 152ms on 2 files with 195 rules using 16 threads.