Skip to content

Conversation

@coliff
Copy link
Member

@coliff coliff commented Nov 26, 2025

  • Replaces .eslintrc.js with eslint.config.js using the new flat config format.
  • Updates ESLint and TypeScript ESLint dependencies to latest major versions
  • Adjusts ignore patterns, and refactors htmlhint-server code to use unused parameter conventions.
  • Also bumps VS Code engine and type dependencies for compatibility.

Replaces .eslintrc.js with eslint.config.js using the new flat config format. Updates ESLint and TypeScript ESLint dependencies to latest major versions, adjusts ignore patterns, and refactors htmlhint-server code to use unused parameter conventions. Also bumps VS Code engine and type dependencies for compatibility.
Copy link
Contributor

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request successfully migrates the ESLint configuration to the new flat config format and updates related dependencies. The code changes to handle unused variables are correct. I've identified a potential conflict in the new ESLint configuration regarding the no-unused-vars rule for TypeScript files and have also provided suggestions to simplify the globals configuration for better maintainability.

Added 'tsparser' to the cspell dictionary. Modified ESLint config to disable the base 'no-unused-vars' rule for TypeScript files and removed its custom configuration to prevent rule conflicts.
Replaces manual Node.js global definitions in eslint.config.js with the globals package for improved maintainability. Adds 'globals' as a dev dependency in package.json and updates its version in package-lock.json.
@coliff coliff merged commit 88e17cb into main Nov 26, 2025
14 checks passed
@coliff coliff deleted the dev/coliff/update-eslint branch November 26, 2025 05:20
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.

2 participants