Skip to content

Commit

Permalink
Add rule S1802 (mouse-events-a11y): Mouse events should have corres…
Browse files Browse the repository at this point in the history
…ponding keyboard events (#4301)
  • Loading branch information
saberduck authored Oct 20, 2023
1 parent 2c18c31 commit 107ac2a
Show file tree
Hide file tree
Showing 21 changed files with 964 additions and 0 deletions.
13 changes: 13 additions & 0 deletions its/ruling/src/test/expected/jsts/Joust/typescript-S1082.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"Joust:ts/components/Settings.tsx": [
22
],
"Joust:ts/components/Tooltipper.tsx": [
62,
62
],
"Joust:ts/components/game/EntityInPlay.tsx": [
134,
134
]
}
45 changes: 45 additions & 0 deletions its/ruling/src/test/expected/jsts/ant-design/javascript-S1082.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
{
"ant-design:components/_util/__tests__/useSyncState.test.js": [
11
],
"ant-design:components/breadcrumb/__tests__/router.test.js": [
56,
57
],
"ant-design:components/calendar/__tests__/index.test.js": [
421
],
"ant-design:components/drawer/__tests__/DrawerEvent.test.js": [
119
],
"ant-design:components/locale-provider/__tests__/config.test.js": [
31,
34
],
"ant-design:components/space/__tests__/index.test.js": [
123,
142
],
"ant-design:components/table/__tests__/Table.filter.test.js": [
184,
187,
190,
193,
2242,
2251
],
"ant-design:components/upload/__tests__/uploadlist.test.js": [
630,
1311,
1314,
1317
],
"ant-design:site/theme/template/Content/Demo/index.jsx": [
379,
396,
416,
436,
464,
474
]
}
59 changes: 59 additions & 0 deletions its/ruling/src/test/expected/jsts/ant-design/typescript-S1082.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
{
"ant-design:components/alert/index.tsx": [
177
],
"ant-design:components/back-top/index.tsx": [
127
],
"ant-design:components/button/button.tsx": [
284
],
"ant-design:components/layout/Sider.tsx": [
162,
182
],
"ant-design:components/modal/__tests__/Modal.test.tsx": [
80
],
"ant-design:components/modal/__tests__/hook.test.tsx": [
121,
156,
185
],
"ant-design:components/table/hooks/useFilter/FilterDropdown.tsx": [
466
],
"ant-design:components/table/hooks/useFilter/FilterWrapper.tsx": [
9
],
"ant-design:components/tag/CheckableTag.tsx": [
45
],
"ant-design:components/tag/index.tsx": [
99
],
"ant-design:components/typography/Base/index.tsx": [
371
],
"ant-design:components/typography/__tests__/copy.test.tsx": [
214
],
"ant-design:components/upload/UploadList/ListItem.tsx": [
189
],
"ant-design:components/upload/__tests__/type.test.tsx": [
166,
167,
168
],
"ant-design:site/theme/template/Color/ColorPicker.tsx": [
99,
105
],
"ant-design:site/theme/template/Content/Article.tsx": [
113
],
"ant-design:site/theme/template/Layout/Header/SearchBar.tsx": [
158
]
}
Loading

0 comments on commit 107ac2a

Please sign in to comment.