Commit f43ab2f
feat(linter): add unicorn/prefer-keyboard-event-key rule (#16611)
This PR adds unicorn/prefer-keyboard-event-key rule, issue #684
[rule doc](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/prefer-keyboard-event-key.md)
[rule source](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/rules/prefer-keyboard-event-key.js)
---------
Co-authored-by: Cameron Clark <[email protected]>1 parent d7f604b commit f43ab2f
File tree
4 files changed
+1649
-0
lines changed- crates/oxc_linter/src
- generated
- rules/unicorn
- snapshots
4 files changed
+1649
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3597 | 3597 | | |
3598 | 3598 | | |
3599 | 3599 | | |
| 3600 | + | |
| 3601 | + | |
| 3602 | + | |
| 3603 | + | |
| 3604 | + | |
| 3605 | + | |
| 3606 | + | |
| 3607 | + | |
3600 | 3608 | | |
3601 | 3609 | | |
3602 | 3610 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
480 | 480 | | |
481 | 481 | | |
482 | 482 | | |
| 483 | + | |
483 | 484 | | |
484 | 485 | | |
485 | 486 | | |
| |||
1227 | 1228 | | |
1228 | 1229 | | |
1229 | 1230 | | |
| 1231 | + | |
1230 | 1232 | | |
1231 | 1233 | | |
1232 | 1234 | | |
| |||
0 commit comments