Skip to content

Commit

Permalink
Fix rule names in index.js (#216)
Browse files Browse the repository at this point in the history
* Fix rule names in `index.js`

* Create spotty-rabbits-behave.md
  • Loading branch information
iansan5653 committed Sep 5, 2024
1 parent 0fd2608 commit 55c5256
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions .changeset/spotty-rabbits-behave.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"eslint-plugin-primer-react": patch
---

Fix invalid rule names
4 changes: 2 additions & 2 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ module.exports = {
'a11y-remove-disable-tooltip': require('./rules/a11y-remove-disable-tooltip'),
'a11y-use-next-tooltip': require('./rules/a11y-use-next-tooltip'),
'use-deprecated-from-deprecated': require('./rules/use-deprecated-from-deprecated'),
'primer-react/no-unnecessary-components': require('./rules/no-unnecessary-components'),
'primer-react/prefer-action-list-item-onselect': require('./rules/prefer-action-list-item-onselect'),
'no-unnecessary-components': require('./rules/no-unnecessary-components'),
'prefer-action-list-item-onselect': require('./rules/prefer-action-list-item-onselect'),
},
configs: {
recommended: require('./configs/recommended'),
Expand Down

0 comments on commit 55c5256

Please sign in to comment.