SUIT-21855 Update dev dependencies: ESLint 6->9, TypeScript 3.9->6, Jest 26->29, remove tslint - #242
Merged
Merged
Conversation
…est 26->29, remove tslint
bojani99
force-pushed
the
hotfix/SUIT-21855
branch
from
April 22, 2026 13:24
0cb9392 to
6db1d60
Compare
JeKachan
approved these changes
Apr 23, 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.
Changes
.eslintrc.jswitheslint.config.mjs(ESLint v9 flat config)6.8.0->9.39.0, migrated totypescript-eslintunified package3.9->6.0, Jest26->29,ts-jest26->29,@types/jest25->29,@types/node14->22,@types/unist2->3@stylistic/eslint-pluginfor formatting rules (removed from ESLint core and@typescript-eslintin v8)tslint,@typescript-eslint/eslint-plugin-tslint, standalone@typescript-eslint/eslint-pluginand@typescript-eslint/parserSource code changes
packages/translate/lib/condition.tsx-> 2xString()wraps for TS5 stricter type inferencepackages/smst-to-html/tsconfig.json,packages/smst-to-text/tsconfig.json,packages/translate/tsconfig.json-> added"../smst/types"toinclude. TS5 no longer resolves the globalJSXnamespace from@suitest/smst/types/intrinsicElements.d.tsbecause the triple-slash reference is stripped from the emitted.d.ts(source is outsiderootDir). Without this, downstream packages fail withTS2503: Cannot find namespace 'JSX'. A cleaner fix would be restructuringsmst's file layout to emit types alongsidedist/.@stylistic/comma-dangle)Object {->{,Array [->[, quote escapingts-jestconfig from deprecatedglobalstotransformtuple format in all 4 jest configssmst-to-htmlandsmst-to-text-> Jest 29 counts statements/branches differently than Jest 26. No code was removed or changed.Rules changes
@typescript-eslint/no-empty-interface->no-empty-object-type(v8 rename)@typescript-eslint/no-var-requires->no-require-imports(v8 rename)no-case-declarations,no-redeclare,ban-ts-comment,restrict-template-expressions,no-unsafe-call/return/member-access,no-unnecessary-type-constraintencoding,import-spacing,jsdoc-format,one-line,whitespace) -> ran through@typescript-eslint/eslint-plugin-tslintwhich was removed in v8. Most are covered by@stylisticrules.All existing linting rules preserved.
npm run lint,npm test,npm run build,npm run coveragepass with 0 errors.