Skip to content

Commit 09d0574

Browse files
committed
Add rule to recommended config
1 parent 4bd1769 commit 09d0574

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

src/configs/recommended.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ module.exports = {
1919
'primer-react/a11y-remove-disable-tooltip': 'error',
2020
'primer-react/a11y-use-next-tooltip': 'error',
2121
'primer-react/no-unnecessary-components': 'error',
22+
'primer-react/prefer-action-list-item-onselect': 'error',
2223
},
2324
settings: {
2425
github: {

src/index.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ module.exports = {
1212
'a11y-use-next-tooltip': require('./rules/a11y-use-next-tooltip'),
1313
'use-deprecated-from-deprecated': require('./rules/use-deprecated-from-deprecated'),
1414
'primer-react/no-unnecessary-components': require('./rules/no-unnecessary-components'),
15+
'primer-react/prefer-action-list-item-onselect': require('./rules/prefer-action-list-item-onselect'),
1516
},
1617
configs: {
1718
recommended: require('./configs/recommended'),

0 commit comments

Comments
 (0)