Skip to content

Replace tslint with ESLint and lint in CI - #360

Merged
isc-klu merged 2 commits into
intersystems-community:masterfrom
isc-klu:eslint
Oct 27, 2026
Merged

isc-klu merged 2 commits into
intersystems-community:masterfrom
isc-klu:eslint

Conversation

@isc-klu

@isc-klu isc-klu commented Sep 11, 2026 •

Copy link
Copy Markdown
Collaborator

tslint has been deprecated since 2019 and is not usable.

  • Replaced tslint with eslint + typescript-eslint, using recommended presets in a flat eslint.config.mjs.
  • Removed tslint.json and the stale, never-wired-up .eslintrc.json/.eslintignore.
  • Relaxed rules to match existing conventions and minimize code diff.
  • Fixed the 10 remaining findings with no behavior change and removed 12 dead tslint:disable comments.
  • Added npm run lint to both CI workflows before compile.

@isc-klu
isc-klu force-pushed the eslint branch 5 times, most recently from 3c4709b to 1a968a7 Compare October 16, 2026 16:29
@isc-klu
isc-klu marked this pull request as ready for review October 16, 2026 17:11
@isc-klu
isc-klu requested a review from isc-bsaviano October 16, 2026 17:11
@isc-bsaviano

Copy link
Copy Markdown
Collaborator

@isc-klu I suggest merging this PR last because it will have to be updated with the other changes.

gjsjohnmurray
gjsjohnmurray previously approved these changes Oct 20, 2026
tslint has been deprecated since 2019 and crashes on TypeScript 5+; its
recommended config also demanded spaces while the codebase uses tabs, so
`npm run lint` reported 2679 indent errors and nobody ran it. Switch to
ESLint + typescript-eslint recommended, fix the 10 findings and drop the
dead tslint directives, then run lint on every push.
Comment thread src/commands/importFromRegistry.ts Resolved
@isc-klu
isc-klu requested a review from isc-bsaviano October 27, 2026 17:14
@isc-klu
isc-klu merged commit b68e60f into intersystems-community:master Oct 27, 2026
3 checks passed
@isc-klu
isc-klu deleted the eslint branch October 27, 2026 18:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants