Skip to content

build(client): bump eslint-config-fluid to v8#25774

Merged
tylerbutler merged 56 commits intomicrosoft:mainfrom
tylerbutler:eslint-import-upgrade-client-v8
Nov 5, 2025
Merged

build(client): bump eslint-config-fluid to v8#25774
tylerbutler merged 56 commits intomicrosoft:mainfrom
tylerbutler:eslint-import-upgrade-client-v8

Conversation

@tylerbutler
Copy link
Member

@tylerbutler tylerbutler commented Oct 30, 2025

This change updates ESLint configuration and usage throughout the client release group to use the new import-x ESLint plugin instead of the previous import plugin. It also upgrades the @fluidframework/eslint-config-fluid package to version 8.1.0 across all relevant package.json files.

Unfortunately the switch to import-x from the import plugin isn't something we can easily do in parts. See #25807, which doesn't work unfortunately.

With that in mind, this PR both updates the ESLint config version AND updates all import/ disables and config to be import-x/ instead.

Note

If it is helpful, I can refactor this into two commits, one for the package.json changes and one for the other files. Let me know if it's useful (I'm lazy and don't want to do it if no one cares).

@github-actions github-actions bot added area: dds Issues related to distributed data structures area: dds: propertydds area: dds: sharedstring area: dds: tree area: dev experience Improving the experience of devs building on top of fluid area: driver Driver related issues area: examples Changes that focus on our examples area: framework Framework is a tag for issues involving the developer framework. Eg Aqueduct area: loader Loader related issues area: odsp-driver area: runtime Runtime related issues area: tests Tests to add, test infrastructure improvements, etc dependencies Pull requests that update a dependency file base: main PRs targeted against main branch labels Oct 30, 2025
@github-actions github-actions bot removed area: build Build related issues dependencies Pull requests that update a dependency file labels Nov 3, 2025
@github-actions github-actions bot added the dependencies Pull requests that update a dependency file label Nov 3, 2025
@tylerbutler tylerbutler force-pushed the eslint-import-upgrade-client-v8 branch from e39f7ec to 1420ef4 Compare November 4, 2025 00:10
# Conflicts:
#	packages/common/container-definitions/package.json
#	packages/common/core-interfaces/package.json
#	packages/common/core-utils/package.json
#	packages/common/driver-definitions/package.json
#	packages/dds/counter/package.json
#	packages/dds/map/package.json
#	packages/dds/matrix/package.json
#	packages/dds/merge-tree/package.json
#	packages/dds/ordered-collection/package.json
#	packages/dds/register-collection/package.json
#	packages/dds/sequence/package.json
#	packages/dds/shared-object-base/package.json
#	packages/dds/shared-summary-block/package.json
#	packages/dds/task-manager/package.json
#	packages/drivers/debugger/package.json
#	packages/drivers/driver-base/package.json
#	packages/drivers/driver-web-cache/package.json
#	packages/drivers/file-driver/package.json
#	packages/drivers/local-driver/package.json
#	packages/drivers/odsp-driver-definitions/package.json
#	packages/drivers/odsp-driver/package.json
#	packages/drivers/odsp-urlResolver/package.json
#	packages/drivers/replay-driver/package.json
#	packages/drivers/routerlicious-driver/package.json
#	packages/drivers/routerlicious-urlResolver/package.json
#	packages/drivers/tinylicious-driver/package.json
#	packages/framework/fluid-static/package.json
#	packages/framework/request-handler/package.json
#	packages/loader/container-loader/package.json
#	packages/loader/driver-utils/package.json
#	packages/runtime/container-runtime-definitions/package.json
#	packages/runtime/container-runtime/package.json
#	packages/runtime/datastore-definitions/package.json
#	packages/runtime/datastore/package.json
#	packages/runtime/id-compressor/package.json
#	packages/runtime/runtime-definitions/package.json
#	packages/runtime/runtime-utils/package.json
#	packages/runtime/test-runtime-utils/package.json
#	packages/test/test-utils/package.json
#	packages/tools/devtools/devtools-core/package.json
#	packages/tools/devtools/devtools/package.json
#	packages/tools/fluid-runner/package.json
#	packages/utils/odsp-doclib-utils/package.json
#	packages/utils/telemetry-utils/package.json
#	packages/utils/tool-utils/package.json
#	pnpm-lock.yaml
@tylerbutler tylerbutler marked this pull request as ready for review November 4, 2025 20:44
Copilot AI review requested due to automatic review settings November 4, 2025 20:44
@tylerbutler tylerbutler requested review from a team as code owners November 4, 2025 20:44
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.

Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.

@alexvy86
Copy link
Contributor

alexvy86 commented Nov 4, 2025

I think we are going with #25806 instead of this one, right? Or should I review this too?

@tylerbutler
Copy link
Member Author

I think we are going with #25806 instead of this one, right? Or should I review this too?

My plan was to get this one merged first, then merge the other one. Trying to keep lint changes separate from the workspace layout changes. THat said, I'll probably merge whichever one that gets approved/passing CI first. :)

Copy link
Contributor

@alexvy86 alexvy86 left a comment

Choose a reason for hiding this comment

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

Most comments are the same issue across several packages.

Copy link
Contributor

@alexvy86 alexvy86 left a comment

Choose a reason for hiding this comment

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

Most comments are the same issue across several packages.

Copy link
Contributor

@alexvy86 alexvy86 left a comment

Choose a reason for hiding this comment

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

LGTM

@alexvy86
Copy link
Contributor

alexvy86 commented Nov 5, 2025

I think merging this before #25806 makes sense, it'll update all the source files with the new rule name/scope, making the other one easier to review. With the changes to publishing, disabled scripts, policy checks, etc, I think it's worth it to have that one be smaller and easier to review thoroughly.

Copy link
Contributor

@Abe27342 Abe27342 left a comment

Choose a reason for hiding this comment

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

merge-tree/matrix changes look good. Did not review the rest of the PR :)

@tylerbutler tylerbutler merged commit b6fd321 into microsoft:main Nov 5, 2025
37 checks passed
@tylerbutler tylerbutler deleted the eslint-import-upgrade-client-v8 branch November 5, 2025 17:11
@@ -13,7 +15,6 @@ import {
} from "./testValues.js";

// eslint-disable-next-line @typescript-eslint/consistent-type-imports -- incorrect rule: misunderstands `declare`d types.
Copy link
Contributor

Choose a reason for hiding this comment

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

Is there a rogue disable sitting around now?

anthony-murphy-agent pushed a commit to anthony-murphy-agent/FluidFramework that referenced this pull request Jan 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: dds: propertydds area: dds: sharedstring area: dds: tree area: dds Issues related to distributed data structures area: dev experience Improving the experience of devs building on top of fluid area: driver Driver related issues area: examples Changes that focus on our examples area: framework Framework is a tag for issues involving the developer framework. Eg Aqueduct area: loader Loader related issues area: odsp-driver area: runtime Runtime related issues area: tests Tests to add, test infrastructure improvements, etc base: main PRs targeted against main branch dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants