File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed
apps/website/content/docs/rules Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change 8888 " web-api-no-leaked-interval" ,
8989 " web-api-no-leaked-resize-observer" ,
9090 " web-api-no-leaked-timeout" ,
91+ " ---Hooks Extra Rules---" ,
92+ " hooks-extra-no-direct-set-state-in-use-effect" ,
93+ " hooks-extra-no-direct-set-state-in-use-layout-effect" ,
9194 " ---Naming Convention Rules---" ,
9295 " naming-convention-component-name" ,
9396 " naming-convention-context-name" ,
Original file line number Diff line number Diff line change @@ -20,9 +20,10 @@ const orderedCategories = [
2020 { key : "x" , heading : "---X Rules---" } ,
2121 { key : "dom" , heading : "---DOM Rules---" } ,
2222 { key : "web-api" , heading : "---Web API Rules---" } ,
23+ { key : "hooks-extra" , heading : "---Hooks Extra Rules---" } ,
2324 { key : "naming-convention" , heading : "---Naming Convention Rules---" } ,
2425 { key : "debug" , heading : "---Debug Rules---" } ,
25- ] as const ;
26+ ] as const satisfies { key : string ; heading : string } [ ] ;
2627
2728const sortAsc = ( arr : readonly string [ ] ) : string [ ] => [ ...arr ] . sort ( ( a , b ) => a . localeCompare ( b , "en" ) ) ;
2829
You can’t perform that action at this time.
0 commit comments