Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
c3ed98b
Initial plan
Copilot Dec 3, 2025
c32fd0b
Upgrade biome to 2.3.8 and update configs
Copilot Dec 3, 2025
6673421
Fix biome config overrides and formatting
Copilot Dec 3, 2025
e7a7656
Update lockfile and fix policy check
Copilot Dec 3, 2025
df5c73c
Fix sample-executable.esm.ts file
Copilot Dec 3, 2025
4a9a526
Change line width to 120 to minimize formatting churn
Copilot Dec 3, 2025
571d0a1
Upgrade biome from version 1.9 to 2.3.8 and simplify configs
Copilot Dec 3, 2025
6808350
Revert formatting changes, keep only config and upgrade changes
Copilot Dec 3, 2025
850b42d
Remove duplicate biome configs and fix test data issues
Copilot Dec 3, 2025
e2f1250
Restore all comments and spacing in biome config files
Copilot Dec 3, 2025
dbd8473
Remove accidentally committed original_biome.jsonc
Copilot Dec 3, 2025
078a19a
Merge branch 'main' into copilot/upgrade-biome-version-2
tylerbutler Dec 4, 2025
3952102
Merge branch 'main' into copilot/upgrade-biome-version-2
tylerbutler Dec 9, 2025
92e7f41
use overrides
tylerbutler Dec 9, 2025
743c48e
update biome configs
tylerbutler Dec 9, 2025
8be9683
ignore biome 1 test data
tylerbutler Dec 9, 2025
d9a14fe
Merge branch 'main' into copilot/upgrade-biome-version-2
tylerbutler Dec 10, 2025
8041697
restore biome v1 data file
tylerbutler Dec 10, 2025
5aa9760
Update biome.jsonc
tylerbutler Dec 10, 2025
17ed353
Apply suggestions from code review
tylerbutler Dec 10, 2025
c87f3e9
biome configs
tylerbutler Dec 10, 2025
f5d6f05
Merge branch 'main' into copilot/upgrade-biome-version-2
tylerbutler Dec 11, 2025
64b5840
lockfile
tylerbutler Dec 11, 2025
bd1c296
rm missed config
tylerbutler Dec 11, 2025
dbe422d
build-tools override
tylerbutler Dec 11, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 0 additions & 4 deletions azure/packages/azure-local-service/biome.jsonc

This file was deleted.

4 changes: 0 additions & 4 deletions azure/packages/azure-service-utils/biome.jsonc

This file was deleted.

152 changes: 75 additions & 77 deletions biome.jsonc
Original file line number Diff line number Diff line change
Expand Up @@ -10,120 +10,118 @@
"files": {
"ignoreUnknown": true,

"ignore": [
"includes": [
"**",

// Build output
"**/dist/*",
"**/lib/*",
"examples/**/build/*",
"**/*.done.build.log",
"**/.next", // NextJS
"!**/dist/**/*",
"!**/lib/**/*",
"!**/examples/**/build/**/*",
"!**/*.done.build.log",
"!**/.next", // NextJS

// test collateral
"**/_package.json",
"**/fluid-runner/src/test/localOdspSnapshots/**",
"**/fluid-runner/src/test/telemetryExpectedOutputs/**",
"**/snapshots/*.json",
"**/snapshots/content",
"!**/_package.json",
"!**/fluid-runner/src/test/localOdspSnapshots/**",
"!**/fluid-runner/src/test/telemetryExpectedOutputs/**",
"!**/snapshots/**/*.json",
"!**/snapshots/content",

// Generated files
"**/src/**/test/types/*.generated.ts",
"**/src/packageVersion.ts",
"**/src/layerGenerationState.ts",
"!**/src/**/test/types/**/*.generated.ts",
"!**/src/packageVersion.ts",
"!**/src/layerGenerationState.ts",

// Dependencies
"**/node_modules/*",
"!**/node_modules/**/*",

// Used by API-Extractor
"**/_api-extractor-temp/*",
"**/api-report/*",
"**/*.api.md",
"!**/_api-extractor-temp/**/*",
"!**/api-report/**/*",
"!**/*.api.md",

// Templates
".changeset/templates/",
"*.hbs",
"!**/.changeset/templates/",
"!**/*.hbs",

// Test json
"build-tools/packages/build-tools/src/test/data/biome/empty.jsonc",
// Biome 2.x test data - these configs use Biome 2.x syntax that Biome 1.x can't parse
"build-tools/packages/build-tools/src/test/data/biome2/**",
"experimental/dds/tree/src/test/documents/**",
"packages/dds/map/src/test/mocha/snapshots/**/*.json",
"packages/dds/matrix/src/test/results/**/*.json",
"packages/dds/merge-tree/src/test/literature/*.txt",
"packages/dds/merge-tree/src/test/results/*.json",
"packages/dds/sequence/src/test/snapshots/**/*.json",
"packages/dds/sequence/src/test/results/**/*.json",
"packages/dds/sequence/src/test/fuzz/**/*.json",
"packages/dds/tree/src/test/snapshots/**/*.json",
"packages/dds/tree/src/test/shared-tree/fuzz/failures/**/*.json",
"packages/drivers/odsp-driver/src/test/**/*.json",
"packages/framework/attributor/src/test/attribution/documents/**/*.json",
"packages/test/snapshots/content/**",
"packages/tools/fluid-runner/src/test/localOdspSnapshots/**",
"packages/tools/fluid-runner/src/test/telemetryExpectedOutputs/**",
"tools/api-markdown-documenter/src/test/snapshots/**",
"!**/build-tools/packages/build-tools/src/test/data/**",
"!**/experimental/dds/tree/src/test/documents/**",
"!**/packages/dds/map/src/test/mocha/snapshots/**/*.json",
"!**/packages/dds/matrix/src/test/results/**/*.json",
"!**/packages/dds/merge-tree/src/test/literature/**/*.txt",
"!**/packages/dds/merge-tree/src/test/results/**/*.json",
"!**/packages/dds/sequence/src/test/snapshots/**/*.json",
"!**/packages/dds/sequence/src/test/results/**/*.json",
"!**/packages/dds/sequence/src/test/fuzz/**/*.json",
"!**/packages/dds/tree/src/test/snapshots/**/*.json",
"!**/packages/dds/tree/src/test/shared-tree/fuzz/failures/**/*.json",
"!**/packages/drivers/odsp-driver/src/test/**/*.json",
"!**/packages/framework/attributor/src/test/attribution/documents/**/*.json",
"!**/packages/test/snapshots/content/**",
"!**/packages/tools/fluid-runner/src/test/localOdspSnapshots/**",
"!**/packages/tools/fluid-runner/src/test/telemetryExpectedOutputs/**",
"!**/tools/api-markdown-documenter/src/test/snapshots/**",
// TODO: why does examples/apps/tree-cli-app/*.json not work?
"**/data/*.json",
"!**/data/**/*.json",

// Generated type-tests
"**/*.generated.ts",
"!**/*.generated.ts",

// Generated bundle analysis files
"**/bundleAnalysis/**",
"!**/bundleAnalysis/**",

// Generated oclif manifest files
"**/oclif.manifest.json",
"!**/oclif.manifest.json",

// es5 build output
"packages/framework/data-object-base/es5",
"!**/packages/framework/data-object-base/es5",

// Test coverage reports
"**/coverage/*",
"**/nyc/*",
"!**/coverage/**/*",
"!**/nyc/**/*",

// Git configuration file
".git-blame-ignore-revs",
"!**/.git-blame-ignore-revs",

// Generated by policy-check
"**/assertionShortCodesMap.ts",
"!**/assertionShortCodesMap.ts",

// These are actually templates, not pure YAML files
"**/templates/*.yaml",
"!**/templates/**/*.yaml",

// These files are auto-generated according to the comments in the files
"**/charts/**/Chart.yaml",
"!**/charts/**/Chart.yaml",

// Reports generated by dependency-cruiser
"**/.dependency-cruiser-known-violations.json",
"!**/.dependency-cruiser-known-violations.json",

// Reports generated by our benchmark tests
".timeTestsOutput/**",
".memoryTestsOutput/**",
".customBenchmarksOutput/**",
"!**/.timeTestsOutput/**",
"!**/.memoryTestsOutput/**",
"!**/.customBenchmarksOutput/**",

// The paths below are not formatted by Biome. We ignore them explicitly so other tools that read this ignore
// list, like fluid-build, know to ignore these files as well.
"**/*.md",
"**/.gitignore",
"**/.npmignore",
"**/LICENSE",
"**/.changeset/**",
"!**/*.md",
"!**/.gitignore",
"!**/.npmignore",
"!**/LICENSE",
"!**/.changeset/**",

// Paths below are outside the client release group and aren't configured for biome.
"common/build/**",
"common/lib/**",
"docs/**",
"server/**",
"tools/benchmark/**",
"tools/getkeys/**",
"tools/pipelines/**",
"tools/test-tools/**"
"!**/common/build/**",
"!**/common/lib/**",
"!**/docs/**",
"!**/server/**",
"!**/tools/benchmark/**",
"!**/tools/getkeys/**",
"!**/tools/pipelines/**",
"!**/tools/test-tools/**"
],
"maxSize": 2097152
},
"organizeImports": {
"enabled": false
},
"assist": { "actions": { "source": { "organizeImports": "off" } } },
"linter": {
"enabled": false,
"rules": {
Expand All @@ -132,7 +130,7 @@
},
"formatter": {
"enabled": true,
"ignore": ["**/dist/**", "**/lib/**"],
"includes": ["**", "!**/dist/**", "!**/lib/**"],
"formatWithErrors": true,
"indentStyle": "tab",
"lineWidth": 95,
Expand Down Expand Up @@ -162,7 +160,7 @@
// of the repo.
//
// This configuration should be kept up-to-date with the settings in `experimental/dds/tree/biome.jsonc`.
"include": ["experimental/dds/tree/**"],
"includes": ["**/experimental/dds/tree/**"],
"formatter": {
"lineWidth": 120
},
Expand All @@ -181,7 +179,7 @@
// format them conservatively without trailing commas.
//
// See also: https://github.com/microsoft/vscode/issues/102061
"include": [
"includes": [
"**/*.jsonc",

// Tools reading api-extractor config files do not consistently support trailing commas.
Expand All @@ -194,7 +192,7 @@
"**/fence.json",

// These files contain comments, but are not JSONC files
"tools/api-markdown-documenter/src/**/test/test-data/**"
"**/tools/api-markdown-documenter/src/**/test/test-data/**"
],
"json": {
"parser": {
Expand All @@ -209,9 +207,9 @@
{
// JSONC WITH TRAILING COMMAS
// These JSONC files are known to support trailing commas.
"include": [
"includes": [
// vscode config files all support trailing commas.
"**/.vscode/*.json",
"**/.vscode/**/*.json",

// tsconfig files support trailing commas.
"**/tsconfig*.json"
Expand All @@ -230,7 +228,7 @@
// PACKAGE.JSON
// These settings are used to format package.json files in the way npm itself does, with the exception of using
// tabs instead of spaces.
"include": ["**/package.json"],
"includes": ["**/package.json"],
"json": {
"formatter": {
"lineWidth": 1
Expand Down
18 changes: 12 additions & 6 deletions build-tools/biome.jsonc
Original file line number Diff line number Diff line change
@@ -1,16 +1,22 @@
{
"$schema": "./node_modules/@biomejs/biome/configuration_schema.json",
"extends": ["../biome.jsonc"],
"organizeImports": {
"enabled": true
"extends": "//",
"assist": {
"actions": {
"source": {
"organizeImports": "on"
}
}
},
"formatter": {
"enabled": true
},
"files": {
"ignore": [
"packages/build-tools/src/test/data/biome/empty.jsonc",
"packages/build-tools/src/test/data/biome2/**"
"includes": [
"**",
"!**/packages/build-tools/src/test/data/biome/empty.jsonc",
// Biome 1.x test data - these configs use Biome 1.x syntax that Biome 2.x can't parse
"!**/packages/build-tools/src/test/data/biome/**"
]
}
}
1 change: 1 addition & 0 deletions build-tools/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,7 @@
"mdast-util-gfm-footnote: [email protected] has a type definition bug where it imports ToMarkdownOptions from mdast-util-gfm-footnote, but version 2.0.0 doesn't export it. Override to 2.1.0 which includes the missing export."
],
"overrides": {
"@biomejs/biome": "~2.3.8",
"@types/glob>@types/minimatch": "~5.1.2",
"@types/node": "^22.19.1",
"json5@<1.0.2": "^1.0.2",
Expand Down
7 changes: 0 additions & 7 deletions build-tools/packages/build-infrastructure/biome.jsonc

This file was deleted.

11 changes: 0 additions & 11 deletions build-tools/packages/build-tools/biome.jsonc

This file was deleted.

Loading