all: update ESLint and related JS dev dependencies
Update the JavaScript/TypeScript dev toolchain to current versions:
eslint 8.1.0 -> 10.3.0
typescript-eslint 5.2.0 -> 8.59.2 (consolidated package)
eslint-plugin-jest 25.2.2 -> 29.15.2
eslint-plugin-prettier 3.3.0 -> 5.5.5
eslint-config-prettier 6.14.0 -> 10.1.8
prettier 2.1.2 -> 3.8.3
typescript 4.0.3 -> 5.9.3
jest 27.3.1 -> 29.7.0
ts-jest 27.0.7 -> 29.4.5
stylelint 14.2.0 -> 17.11.0
stylelint-config-standard 24.0.0 -> 40.0.0
stylelint-prettier 2.0.0 -> 5.0.3
stylelint-order 5.0.0 -> 8.1.1
ESLint v9 dropped legacy .eslintrc.* config and v10 dropped
.eslintignore; migrate to flat config (eslint.config.js).
ts-jest v29 removed ts-jest/utils; replace mocked() with jest.mocked.
Prettier 3 changes the trailing-comma default; reformat affected files.
stylelint-config-standard 40 enables media-feature-range-notation and
at-rule-empty-line-before, which --fix applies to the CSS sources. The
following stylelint rules are disabled to keep this CL focused on the
toolchain bump rather than CSS modernization:
declaration-property-value-keyword-no-deprecated (word-break: break-word)
declaration-property-value-no-unknown (display: box)
property-no-deprecated (clip:)
Three real lint errors are fixed inline:
- header.ts and tree.ts: short-circuit-as-statement -> if (...) ...
- tree.ts collapseTreeitem: collapse "let x = null; if/else x = ..."
into a ternary
Drop stylelint-config-prettier (rules now subsumed by stylelint-prettier).
Add @eslint/js and globals as direct devDependencies.
Regenerate static bundles via "go run ./devtools/cmd/static".
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |