Skip to content

Conversation

@mainframev
Copy link
Contributor

Removes the rest of legacy eslint configs, updates configuration files, scripts, ensures tooling and ownership files reflect the new structure.

Related Issue(s)

@mainframev mainframev self-assigned this Dec 18, 2025
@mainframev mainframev changed the title chore: migrate to flat eslint flat configs chore: migrate to eslint flat configs Dec 18, 2025
@github-actions
Copy link

github-actions bot commented Dec 18, 2025

📊 Bundle size report

✅ No changes found

@github-actions
Copy link

Pull request demo site: URL

@mainframev mainframev marked this pull request as ready for review December 19, 2025 11:29
@@ -0,0 +1,7 @@
{
"type": "none",
"comment": "chore: update verify-packaging script to exclude root eslintrc file",
Copy link
Contributor

Choose a reason for hiding this comment

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

this shouldn't exists, we need to update beachball ignore definition to:

"**/.eslintrc.*",
+"**/eslint.config.*",

https://github.com/microsoft/fluentui/blob/master/scripts/beachball/base.config.json#L9

"{workspaceRoot}/.eslintrc.json",
"{workspaceRoot}/.eslintignore",
"{workspaceRoot}/eslint.config.js",
"{workspaceRoot}/eslint.config.cjs",
Copy link
Contributor

Choose a reason for hiding this comment

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

we can merge these two into {workspaceRoot}/eslint.config.[mc]js" or covering all 3 extensions {workspaceRoot}/jest.config.{cjs,mjs,js}

Copy link
Contributor

Choose a reason for hiding this comment

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

you are removing the root eslint config file. we wanted to follow standard nx practices like we have in contrib for eg - having repo root eslint which is being spread per project flat configs (https://github.com/microsoft/fluentui-contrib/blob/main/eslint.config.js) with the exception of v8 packages that will be kept as is because I don't think we can make the separation of rules applied work simply by file matching globs.

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