Updates various files to address deprecated properties, forbidden non-null assertions, and other code quality improvements.
Replaces deprecated trailingComma property with javascript.formatter.trailingCommas in biome.json.
Removes forbidden non-null assertions across multiple files, including packages/dota/src/twitch/index.ts, packages/dota/src/dev/index.ts, and others, replacing them with proper null checks or optional chaining.
Adds explicit types or initializes variables with values to avoid implicit any type in packages/dota/src/dota/lib/ranks.ts.
Refactors functions in packages/dota/src/dota/events/gsi-events/event.aegis_picked_up.ts and packages/dota/src/dota/events/gsi-events/event.roshan_killed.ts to avoid reassigning function parameters, using local variables instead.
Corrects the usage of template literals without interpolation in packages/dota/src/dota/events/gsi-events/__tests__/map.win_team.test.ts.
Removes focus from tests in packages/dota/src/dota/events/gsi-events/__tests__/map.win_team.test.ts by replacing fdescribe with describe.
Removes or refactors export statements from a test file in packages/dota/src/dota/events/gsi-events/__tests__/event.aegis.test.ts to ensure it does not export from a test file.
Updates various files to address deprecated properties, forbidden non-null assertions, and other code quality improvements.
trailingComma
property withjavascript.formatter.trailingCommas
inbiome.json
.packages/dota/src/twitch/index.ts
,packages/dota/src/dev/index.ts
, and others, replacing them with proper null checks or optional chaining.any
type inpackages/dota/src/dota/lib/ranks.ts
.packages/dota/src/dota/events/gsi-events/event.aegis_picked_up.ts
andpackages/dota/src/dota/events/gsi-events/event.roshan_killed.ts
to avoid reassigning function parameters, using local variables instead.packages/dota/src/dota/events/gsi-events/__tests__/map.win_team.test.ts
.packages/dota/src/dota/events/gsi-events/__tests__/map.win_team.test.ts
by replacingfdescribe
withdescribe
.packages/dota/src/dota/events/gsi-events/__tests__/event.aegis.test.ts
to ensure it does not export from a test file.For more details, open the Copilot Workspace session.