Migrate from tslint to oxlint#344
Open
Copilot wants to merge 2 commits into
Open
Conversation
Copilot
AI
changed the title
[WIP] Migrate from tslint to oxlint with ts config
Migrate from tslint to oxlint
Jun 17, 2026
There was a problem hiding this comment.
Pull request overview
Migrates the project’s TypeScript linting from deprecated TSLint to Oxlint, updating the repo’s Node tooling configuration so make lint uses the new linter.
Changes:
- Remove
tslint.jsonand replace TSLint dependency withoxlint. - Add
oxlint.config.tsand update thelintMakefile target to run oxlint againstts/. - Adjust
package.jsonto support the new lint configuration and updatepackage-lock.jsonaccordingly.
Reviewed changes
Copilot reviewed 4 out of 5 changed files in this pull request and generated 3 comments.
Show a summary per file
| File | Description |
|---|---|
tslint.json |
Removed legacy TSLint configuration. |
package.json |
Adds ESM package mode and swaps TSLint for Oxlint dependency. |
package-lock.json |
Updates lockfile to reflect removal of TSLint and addition of Oxlint + platform bindings. |
oxlint.config.ts |
Introduces Oxlint configuration (TypeScript plugin + selected rule disables). |
Makefile |
Updates lint target to invoke oxlint with the new config. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Comment on lines
3
to
5
| "description": "The App", | ||
| "type": "module", | ||
| "repository": { |
| { | ||
| "name": "shieldeddotdev", | ||
| "description": "The App", | ||
| "type": "module", |
| browser: true, | ||
| }, | ||
| rules: { | ||
| // Disabled to maintain parity with the previous tslint configuration |
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.
Replaces the deprecated tslint linter with oxlint, using a TypeScript config file as requested.
Changes
oxlint.config.ts— new TypeScript config usingdefineConfigfrom oxlint; enablestypescriptplugin, setsbrowserenv, and disableseqeqeq/no-empty/no-bitwise/no-consoleto preserve the previous tslint rule setpackage.json— swapstslintforoxlint ^1.70.0; adds"type": "module"to support loading the.tsconfig without a Node.js warningMakefile— updateslinttarget tooxlint -c oxlint.config.ts ts/tslint.json— deleted