fluentui icon indicating copy to clipboard operation
fluentui copied to clipboard

chore: migrate apps, tools and scripts to flat configs

Open mainframev opened this issue 1 month ago • 2 comments

Migrating apps, tools and scripts to use new flat eslint configs

Previous Behavior

legacy eslint config format

New Behavior

new flat format

Related Issue(s)

  • Partially implements #32289

mainframev avatar Dec 05 '25 21:12 mainframev

📊 Bundle size report

✅ No changes found

github-actions[bot] avatar Dec 05 '25 22:12 github-actions[bot]

Pull request demo site: URL

github-actions[bot] avatar Dec 05 '25 22:12 github-actions[bot]

@mainframev Hey, could you help me understand why there are a few changes in the source files? Is it because we’re using different rules in legacy and flat configs, or maybe not all configs got migrated and some rules are only in the legacy configs?

mostly yes

  • new regex rule coming from airbnb config, as in previous PRs: https://github.com/microsoft/fluentui/blob/8b2406d2bea7b64abc6a92a47e555fd7e753d136/scripts/tasks/src/utils.spec.ts#L61
  • same, no-promise-executor-return: https://github.com/microsoft/fluentui/pull/35545/files#diff-833c11243dfff8c21fa59ba0df7b9ac0e8670666684eeae10fb2b5d4f58d5b46R299
  • nit: https://github.com/microsoft/fluentui/pull/35545/files#diff-8b524c890e3f7b4ba14e24034a9e03e7ed0d4f1c60e21da07a2fd76ddd2ac6c6L14

mainframev avatar Dec 11 '25 10:12 mainframev