Skip to content

Conversation

@tylerbutler
Copy link
Member

@tylerbutler tylerbutler commented Jan 28, 2026

Summary

This PR updates the ESLint config printed snapshots to include languageOptions (excluding the large globalsobject). This makes parser options likeprojectService` visible in the printed configs for easier review and debugging of ESLint configuration changes.

Changes

  • Modified print-configs.ts to only remove globals from languageOptions instead of removing the entire languageOptions block
  • Updated all printed config snapshots to include the new languageOptions section

Copilot AI review requested due to automatic review settings January 28, 2026 21:31
@tylerbutler tylerbutler changed the title chore(eslint): include languageOptions in printed configs improvement(eslint-config-fluid): include languageOptions in printed configs Jan 28, 2026
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR enhances the ESLint config printing functionality to make parser options visible in the printed snapshots, improving debuggability of ESLint configuration changes. Previously, the entire languageOptions block was removed; now only the large globals object is excluded while retaining useful information like parser options and ecmaVersion.

Changes:

  • Modified the config printing logic to selectively remove only globals from languageOptions instead of removing the entire languageOptions block
  • Updated all 7 printed config snapshots to include the new languageOptions section with parser configuration details

Reviewed changes

Copilot reviewed 8 out of 8 changed files in this pull request and generated no comments.

Show a summary per file
File Description
common/build/eslint-config-fluid/scripts/print-configs.ts Updated deletion logic to only remove globals from languageOptions, preserving other useful configuration like parserOptions and ecmaVersion
common/build/eslint-config-fluid/printed-configs/test.json Added languageOptions section showing projectService: false and project file references
common/build/eslint-config-fluid/printed-configs/strict.json Added languageOptions section showing projectService: true configuration
common/build/eslint-config-fluid/printed-configs/strict-biome.json Added languageOptions section showing projectService: true configuration
common/build/eslint-config-fluid/printed-configs/recommended.json Added languageOptions section showing projectService: true configuration
common/build/eslint-config-fluid/printed-configs/react.json Added languageOptions section showing projectService: true and JSX ecmaFeatures
common/build/eslint-config-fluid/printed-configs/minimal.json Added languageOptions section showing projectService: true configuration
common/build/eslint-config-fluid/printed-configs/default.json Added languageOptions section showing projectService: true configuration

@tylerbutler tylerbutler requested a review from a team January 28, 2026 21:37
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.

1 participant