fluentui
fluentui copied to clipboard
chore: migrate apps, tools and scripts to flat configs
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
📊 Bundle size report
✅ No changes found
Pull request demo site: URL
@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