Commit 1d81d1a
authored
build(eslint-config-fluid): update @typescript-eslint to v8 (#25663)
Updates @typescript-eslint packages from v7 to v8 with necessary rule
migrations and configuration adjustments.
## Changes
- Update @typescript-eslint/eslint-plugin and @typescript-eslint/parser
to v8
- Migrate rule: `no-throw-literal` → `only-throw-error`
- Remove deprecated and deleted rules: `ban-types`,
`no-empty-interface`, and others
- I removed all typescript-eslint rules that are deleted or deprecated.
This resulted in some trivial changes to the config of some rules
(rulesets often keep the old, even deleted, rules around for awhile
"just in case" -- they just set them to "off" -- so we'll still see them
in the printed configs).
- Update codebase for new rule requirements (explicit returns, type
annotations)
## Test plan
- CI passes with updated ESLint configuration
- All lint errors resolved across codebase1 parent 3bb132c commit 1d81d1a
File tree
112 files changed
+466
-582
lines changed- azure/packages/azure-local-service
- common/build/eslint-config-fluid
- printed-configs
- examples
- apps/presence-tracker/src
- benchmarks
- bubblebench
- experimental-tree/src/proxy
- ot/src/proxy
- odspsnapshotfetch-perftestapp/src
- data-objects
- clicker/src
- codemirror/src
- webflow/src
- view
- external-data
- src/model
- tests
- utils
- example-utils/src/reactInputs
- webpack-fluid-loader/src
- experimental
- PropertyDDS/packages
- property-changeset
- src/test
- property-properties
- src/test
- dds
- ot
- ot/src/test
- tree
- src/id-compressor
- packages
- common
- client-utils/src/test/mocha
- core-interfaces/src
- core-utils/src
- dds
- map/src/test/mocha
- matrix/src/test
- merge-tree/src/test
- tree/src
- feature-libraries/sequence-field
- simple-tree
- core
- node-kinds
- array
- object
- test
- simple-tree
- api
- node-kinds/object
- util
- drivers
- debugger/src
- driver-base/src
- file-driver/src
- local-driver/src
- odsp-driver-definitions/src
- odsp-driver/src
- test
- odsp-urlResolver/src
- replay-driver/src
- routerlicious-driver/src
- tinylicious-driver/src
- framework
- ai-collab/src
- explicit-strategy
- implicit-strategy
- attributor/src/test/attribution
- fluid-static/src
- presence
- src
- test
- schemaValidation
- react/src/test
- tree-agent
- api-report
- src
- loader
- container-loader/src
- driver-utils/src
- runtime
- container-runtime/src
- blobManager
- summary
- test/blobs
- datastore-definitions/src
- id-compressor/src
- test/snapshots
- test
- stochastic-test-utils/src
- test-end-to-end-tests/src/test
- gc
- test-utils/src
- test-version-utils/src
- tools
- changelog-generator-wrapper
- devtools/devtools-test-app/src/test
- fetch-tool/src
- fluid-runner
- src
- utils
- telemetry-utils/src
- tool-utils/src
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
112 files changed
+466
-582
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| 7 | + | |
7 | 8 | | |
8 | 9 | | |
9 | 10 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
42 | | - | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | | - | |
48 | 42 | | |
49 | 43 | | |
50 | 44 | | |
| |||
72 | 66 | | |
73 | 67 | | |
74 | 68 | | |
75 | | - | |
76 | | - | |
77 | | - | |
78 | 69 | | |
79 | 70 | | |
80 | 71 | | |
| |||
85 | 76 | | |
86 | 77 | | |
87 | 78 | | |
88 | | - | |
89 | | - | |
90 | | - | |
91 | 79 | | |
92 | 80 | | |
93 | 81 | | |
94 | 82 | | |
95 | | - | |
96 | 83 | | |
97 | 84 | | |
98 | 85 | | |
| |||
110 | 97 | | |
111 | 98 | | |
112 | 99 | | |
113 | | - | |
114 | 100 | | |
115 | 101 | | |
116 | 102 | | |
117 | 103 | | |
118 | 104 | | |
119 | 105 | | |
120 | | - | |
121 | | - | |
| 106 | + | |
122 | 107 | | |
123 | 108 | | |
124 | 109 | | |
125 | 110 | | |
126 | 111 | | |
127 | | - | |
128 | | - | |
129 | | - | |
130 | | - | |
131 | | - | |
132 | | - | |
133 | | - | |
134 | | - | |
135 | 112 | | |
136 | 113 | | |
137 | 114 | | |
138 | 115 | | |
139 | | - | |
140 | | - | |
141 | | - | |
142 | | - | |
143 | | - | |
144 | | - | |
145 | | - | |
146 | | - | |
147 | | - | |
148 | | - | |
149 | 116 | | |
150 | 117 | | |
151 | | - | |
152 | 118 | | |
153 | 119 | | |
154 | 120 | | |
| |||
361 | 327 | | |
362 | 328 | | |
363 | 329 | | |
364 | | - | |
365 | 330 | | |
366 | 331 | | |
367 | 332 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
232 | 232 | | |
233 | 233 | | |
234 | 234 | | |
235 | | - | |
236 | | - | |
237 | | - | |
238 | | - | |
239 | 235 | | |
240 | 236 | | |
241 | 237 | | |
| |||
288 | 284 | | |
289 | 285 | | |
290 | 286 | | |
291 | | - | |
292 | | - | |
293 | | - | |
294 | | - | |
295 | | - | |
296 | | - | |
297 | | - | |
298 | | - | |
299 | | - | |
300 | | - | |
301 | | - | |
302 | | - | |
303 | | - | |
304 | | - | |
305 | 287 | | |
306 | | - | |
307 | 288 | | |
308 | 289 | | |
309 | 290 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
31 | | - | |
32 | | - | |
| 31 | + | |
| 32 | + | |
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
| |||
0 commit comments