Commit cfbf960
authored
build(client): generate eslint 9 configs for all packages (#25989)
This change updates the shared eslint 9 config to be TypeScript and
updates the script in scripts/generate-flat-eslint-configs.ts to support
a `--typescript` flag to output typescript per-package configs instead
of ESM. Also adds a `--finalize` flag that will do some additional
cleanup once packages are fully migrated to eslint 9.
Finally, there are lots of fixes to the script to handle ignore entries,
inheritance from other configs, etc. The script now produces configs
that work in my testing without any modifications. Even if that doesn't
hold true once we are truly migrating (see #25932), merging this
beforehand will simplify the review of those changes.
All the configs were generated by the script using this command:
```
tsx scripts/generate-flat-eslint-configs.ts --typescript
```1 parent fa7091a commit cfbf960
File tree
166 files changed
+5496
-170
lines changed- azure/packages
- azure-local-service
- azure-service-utils
- common/build/eslint-config-fluid
- examples
- apps
- ai-collab
- blobs
- collaborative-textarea
- contact-collection
- data-object-grid
- presence-tracker
- staging
- task-selection
- tree-cli-app
- tree-comparison
- benchmarks
- bubblebench
- baseline
- common
- experimental-tree
- ot
- odspsnapshotfetch-perftestapp
- tablebench
- client-logger/app-insights-logger
- data-objects
- canvas
- clicker
- codemirror
- diceroller
- inventory-app
- monaco
- multiview
- constellation-model
- constellation-view
- container
- coordinate-model
- interface
- plot-coordinate-view
- slider-coordinate-view
- triangle-view
- prosemirror
- smde
- table-document
- table-tree
- todo
- webflow
- external-data
- service-clients
- azure-client
- external-controller
- todo-list
- utils
- bundle-size-tests
- example-driver
- example-utils
- example-webpack-integration
- import-testing
- migration-tools
- webpack-fluid-loader
- version-migration
- live-schema-upgrade
- same-container
- separate-container
- tree-shim
- view-integration
- container-views
- external-views
- view-framework-sampler
- experimental
- PropertyDDS/packages
- property-changeset
- property-common
- property-dds
- property-properties
- dds
- ot
- ot
- sequence-deprecated
- tree
- framework
- data-objects
- last-edited
- packages
- common
- client-utils
- container-definitions
- core-interfaces
- core-utils
- driver-definitions
- dds
- cell
- counter
- ink
- legacy-dds
- map
- matrix
- merge-tree
- ordered-collection
- pact-map
- register-collection
- sequence
- task-manager
- test-dds-utils
- tree
- drivers
- debugger
- driver-base
- driver-web-cache
- file-driver
- local-driver
- odsp-driver-definitions
- odsp-driver
- odsp-urlResolver
- replay-driver
- routerlicious-driver
- routerlicious-urlResolver
- tinylicious-driver
- framework
- agent-scheduler
- ai-collab
- aqueduct
- attributor
- client-logger
- app-insights-logger
- fluid-telemetry
- data-object-base
- dds-interceptions
- fluid-framework
- fluid-static
- oldest-client-observer
- presence
- react
- request-handler
- synthesize
- tree-agent-langchain
- tree-agent-ses
- tree-agent
- undo-redo
- loader
- container-loader
- driver-utils
- test-loader-utils
- runtime
- container-runtime-definitions
- container-runtime
- datastore-definitions
- datastore
- id-compressor
- runtime-definitions
- runtime-utils
- test-runtime-utils
- service-clients
- azure-client
- end-to-end-tests
- azure-client
- odsp-client
- odsp-client
- tinylicious-client
- test
- functional-tests
- local-server-stress-tests
- local-server-tests
- mocha-test-setup
- snapshots
- stochastic-test-utils
- test-driver-definitions
- test-drivers
- test-end-to-end-tests
- test-pairwise-generator
- test-service-load
- test-utils
- test-version-utils
- tools
- changelog-generator-wrapper
- devtools
- devtools-browser-extension
- devtools-core
- devtools-test-app
- devtools-view
- devtools
- fetch-tool
- fluid-runner
- replay-tool
- utils
- odsp-doclib-utils
- telemetry-utils
- tool-utils
- scripts
- tools/api-markdown-documenter
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
166 files changed
+5496
-170
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
This file was deleted.
0 commit comments