Skip to content

Update JS code formatter checks - #3873

Merged
josephsnyder merged 86 commits into
Kitware:masterfrom
williamjallen:eslint-formatting
Jul 24, 2026
Merged

Update JS code formatter checks#3873
josephsnyder merged 86 commits into
Kitware:masterfrom
williamjallen:eslint-formatting

Conversation

@williamjallen

Copy link
Copy Markdown
Collaborator

eslint deprecated their formatting rules a few years ago, opting to focus on static analysis exclusively, with plugins for other types of JS checks. The formatting rules have been moved to the @stylistic/eslint-plugin-js package. This PR switches our eslint configuration to use that formatter package. Additionally, I made updates to the selected rules for stricter JS formatting. Commits are curated for reviewer convenience.

@josephsnyder josephsnyder left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM

@josephsnyder
josephsnyder added this pull request to the merge queue Jul 24, 2026
Merged via the queue into Kitware:master with commit 061b728 Jul 24, 2026
7 checks passed
@williamjallen
williamjallen deleted the eslint-formatting branch July 24, 2026 18:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants