Repository navigation
Conversation
Replace ESLint, typescript-eslint and @apify/eslint-config with oxlint, oxlint-tsgolint and @apify/oxlint-config. Linting stays type-aware. typescript-eslint cannot run on TypeScript 7, which blocks that upgrade. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
The preset leaves the correctness category at warn, so rules that used to fail CI under ESLint (no-debugger, no-dupe-keys, no-unreachable, ...) only warned. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
VojtaM39
force-pushed
the
chore/migrate-eslint-to-oxlint
branch
from
December 4, 2026 14:56
86954d2 to
104c941
Compare
daniil-poletaev
approved these changes
Dec 4, 2026
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.
What
typescript-eslintand@apify/eslint-configwithoxlint,oxlint-tsgolintand@apify/oxlint-config, following the setup in chore: migrate from eslint/biome to oxlint/oxfmt crawlee#3569.pnpm run lintis nowoxlint --type-aware. Rules live inoxlint.config.ts;eslint.config.mjsandtsconfig.eslint.jsonare removed.eslint-disablecomments that oxlint reports as unused, and a never-assigned variable intest/e2e/server.ts. Nothing insrcchanges.Why
typescript-eslintcannot run on TypeScript 7, which blocks #758. This PR stays on the current TypeScript version.Notes on
oxlint.config.tscorrectnesscategory is set toerror. The preset leaves it atwarn, so the formerrecommendedrules (no-debugger,no-dupe-keys,no-unreachable, ...) would not fail CI.no-shadow,no-useless-constructor,default-param-last,no-empty-function,consistent-return,dot-notation). The preset setstypescript/x: errorand thenx: off, oxlint treats both names as one rule, so they end up off.jest/vitestno-conditional-expect,vitest/no-conditional-tests,vitest/expect-expectandvitest/valid-titleare off for tests. They are new with the preset and fire on existing tests.typescript/no-floating-promisesandno-empty-functionare off forexamples/**, which is plain JavaScript and was not linted with TypeScript rules before.Risks
import/no-extraneous-dependencies,simple-import-sort/imports,import/no-useless-path-segments,no-restricted-syntax,no-undef-init,no-octal-escape,no-octal,no-dupe-argsand the stylistic rules (indent,quotes,max-len,object-curly-newline,lines-between-class-members).eqeqeq,no-var,prefer-const,no-underscore-dangle,no-new,import/no-cycle.- Test files are linted withouttsconfig.test.json, becauseoxlint-tsgolintonly discovers files namedtsconfig.json. Packages declared intest/types/vendor.d.tsareanyfor type-aware rules.estimate: 1
🤖 Generated with Claude Code