Skip to content

Conversation

@Josmithr
Copy link
Contributor

Part of a larger effort to collapse "recommended" into "minimal-deprecated" so we can remove the "minimal" config from the package.

Promotes rules explicitly enabled in "recommended" to "minimal" as warnings (for now). This will encourage developers to not introduce new violations and potentially fix existing ones while we do the larger config migration.

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 promotes ESLint rules from the "recommended" configuration to the "minimal-deprecated" configuration as warnings, as part of a larger effort to collapse these configs. The changes enable stricter TypeScript type-checking and code quality rules in the minimal config while keeping them as warnings to avoid breaking existing builds.

Changes:

  • Promoted 12 TypeScript and general ESLint rules from "recommended" to "minimal-deprecated" as warnings
  • Added documentation comments for the newly enabled rules
  • Reorganized the config file structure with proper region markers
  • Removed redundant "off" declarations for rules now explicitly enabled

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 5 comments.

File Description
common/build/eslint-config-fluid/minimal-deprecated.js Added 12 rules as warnings with documentation, including type-safety rules (no-explicit-any, no-unsafe-*), import/export consistency rules, and code quality rules
common/build/eslint-config-fluid/printed-configs/minimal.json Generated configuration file reflecting the changes in minimal-deprecated.js with resolved rule settings

Josmithr and others added 2 commits January 12, 2026 15:52
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@Josmithr Josmithr merged commit fe15b4a into microsoft:main Jan 13, 2026
33 checks passed
@Josmithr Josmithr deleted the eslint-config-fluid/recommended-rules-in-minimal-as-warnings branch January 13, 2026 21:15
anthony-murphy-agent pushed a commit to anthony-murphy-agent/FluidFramework that referenced this pull request Jan 14, 2026
…recated" as warnings (microsoft#26190)

Part of a larger effort to collapse "recommended" into
"minimal-deprecated" so we can remove the "minimal" config from the
package.

Promotes rules explicitly enabled in "recommended" to "minimal" as
warnings (for now). This will encourage developers to not introduce new
violations and potentially fix existing ones while we do the larger
config migration.

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
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