Skip to content

Feat/upgrade nodejs#164

Merged
suany0805 merged 4 commits intomainfrom
feat/upgrade-nodejs
Apr 17, 2026
Merged

Feat/upgrade nodejs#164
suany0805 merged 4 commits intomainfrom
feat/upgrade-nodejs

Conversation

@suany0805
Copy link
Copy Markdown
Contributor

This pull request makes significant updates to the project's linting configuration, Node.js version support, and development dependencies. The main changes include migrating from the legacy ESLint configuration to the new flat config system, updating Node.js version requirements across the project, and refreshing TypeScript and related dependencies for all example packages.

Linting and Configuration Updates:

  • Migrated from the legacy .eslintrc.json and .eslintignore files to a new eslint.config.mjs using the ESLint flat config system, with updated plugin usage and modernized rule sets. This change streamlines and modernizes the linting setup. [1] [2] [3]
  • Updated ignore patterns for ESLint to match the new configuration style and ensure proper exclusion of build artifacts and dependency directories.

Node.js Version Upgrades:

  • Updated the required Node.js version in .nvmrc, package.json, and CI workflow to support Node.js versions 20 and above, including the latest LTS and current releases. This ensures compatibility with the latest Node.js features and security updates. [1] [2] [3]

Example Package Maintenance:

  • Upgraded TypeScript and @types/node dependencies in all example packages (jest, mocha, symbolPlugin) to the latest versions for improved type safety and compatibility. [1] [2] [3]
  • Added a check script to example packages to streamline compilation and testing workflows. [1] [2] [3]

Code Quality Improvements:

  • Minor code cleanups in example source files, such as improving type imports and removing unnecessary comments. [1] [2] [3] [4]

@JDOM10 JDOM10 force-pushed the feat/upgrade-nodejs branch from 944b9e7 to 256509f Compare April 17, 2026 16:43
@JDOM10 JDOM10 self-assigned this Apr 17, 2026
@JDOM10 JDOM10 requested a review from SbsCruz April 17, 2026 16:55
Copy link
Copy Markdown
Contributor

@SbsCruz SbsCruz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! thanks for working on this, just left a comment, let me know what you think!

Comment thread packages/dom/src/lib/helpers/styles.ts Outdated
Comment on lines +48 to +49
// eslint-disable-next-line @stylistic/max-len
export function getExpectedAndReceivedStyles(actual: Element, expected: Partial<CSSStyleDeclaration>): StyleDeclaration[] {
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what about splitting it into 2 lines so we don't disable eslint rules, wdyt?

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for noticing this Sebas, I just split it into several lines!

Copy link
Copy Markdown
Contributor Author

@suany0805 suany0805 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is the integration branch for node js upgrade work, this was mostly worked by Jose. Looks good to be merged :)

@suany0805 suany0805 merged commit f3382c0 into main Apr 17, 2026
4 checks passed
@SbsCruz SbsCruz deleted the feat/upgrade-nodejs branch April 17, 2026 19:32
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.

4 participants