Skip to content

Commit ac97206

Browse files
committed
feat: add all
1 parent b9b071f commit ac97206

File tree

1 file changed

+12
-0
lines changed
  • internal/plugins/react_hooks

1 file changed

+12
-0
lines changed
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
package react_hooks_plugin
2+
3+
import (
4+
"github.com/web-infra-dev/rslint/internal/plugins/react_hooks/rules/rules_of_hooks"
5+
"github.com/web-infra-dev/rslint/internal/rule"
6+
)
7+
8+
func GetAllRules() []rule.Rule {
9+
return []rule.Rule{
10+
rules_of_hooks.RulesOfHooksRule,
11+
}
12+
}

0 commit comments

Comments
 (0)