Enable some more oxlint rules (#34193)

* Enable some more oxlint rules

* Iterate

* Iterate

* Update packages/shared-components/src/room/timeline/event-tile/EventTileView/E2ePadlock/E2ePadlock.tsx

Co-authored-by: Hubert Chathi <hubert@uhoreg.ca>

---------

Co-authored-by: Hubert Chathi <hubert@uhoreg.ca>
This commit is contained in:
Michael Telatynski
2026-08-10 12:25:55 +00:00
committed by GitHub
co-authored by Hubert Chathi
parent 4807ff1568
commit d54cddcb1d
26 changed files with 115 additions and 76 deletions
@@ -16,18 +16,18 @@ describe("KeyboardLandmarkUtils", () => {
it("Landmarks are cycled through correctly without an opened room", () => {
render(
<div>
<div tabIndex={0} className="mx_SpaceButton_active" data-testid="mx_SpaceButton_active">
<button className="mx_SpaceButton_active" data-testid="mx_SpaceButton_active">
SPACE_BUTTON
</div>
<div tabIndex={0} id="room-list-search-button" data-testid="mx_RoomListSearch_search">
</button>
<button id="room-list-search-button" data-testid="mx_RoomListSearch_search">
ROOM_SEARCH
</div>
<div tabIndex={0} className="mx_RoomListItemView" data-testid="mx_RoomListItemView">
</button>
<button className="mx_RoomListItemView" data-testid="mx_RoomListItemView">
ROOM_TILE
</div>
<div tabIndex={0} className="mx_HomePage" data-testid="mx_HomePage">
</button>
<button className="mx_HomePage" data-testid="mx_HomePage">
HOME_PAGE
</div>
</button>
</div>,
);
// ACTIVE_SPACE_BUTTON <-> ROOM_SEARCH <-> ROOM_LIST <-> HOME <-> ACTIVE_SPACE_BUTTON
@@ -69,21 +69,19 @@ describe("KeyboardLandmarkUtils", () => {
defaultDispatcher.register(callback);
render(
<div>
<div tabIndex={0} className="mx_SpaceButton_active" data-testid="mx_SpaceButton_active">
<button className="mx_SpaceButton_active" data-testid="mx_SpaceButton_active">
SPACE_BUTTON
</div>
<div tabIndex={0} id="room-list-search-button" data-testid="mx_RoomListSearch_search">
</button>
<button id="room-list-search-button" data-testid="mx_RoomListSearch_search">
ROOM_SEARCH
</div>
<div tabIndex={0} className="mx_RoomListItemView_selected" data-testid="mx_RoomListItemView_selected">
</button>
<button className="mx_RoomListItemView_selected" data-testid="mx_RoomListItemView_selected">
ROOM_TILE
</div>
<div tabIndex={0} className="mx_Room" data-testid="mx_Room">
</button>
<button className="mx_Room" data-testid="mx_Room">
ROOM
<div tabIndex={0} className="mx_MessageComposer">
COMPOSER
</div>
</div>
<div className="mx_MessageComposer">COMPOSER</div>
</button>
</div>,
);
// ACTIVE_SPACE_BUTTON <-> ROOM_SEARCH <-> ROOM_LIST <-> MESSAGE_COMPOSER <-> ACTIVE_SPACE_BUTTON