@@ -15,7 +15,10 @@ import { padKeysLeft } from "./utils";
1515
1616const allPreset = {
1717 // Part: Core
18+ "avoid-shorthand-boolean" : "warn" ,
19+ "avoid-shorthand-fragment" : "warn" ,
1820 "ensure-forward-ref-using-ref" : "warn" ,
21+ "jsx-uses-vars" : "warn" ,
1922 "no-access-state-in-setstate" : "error" ,
2023 "no-array-index-key" : "warn" ,
2124 "no-children-count" : "warn" ,
@@ -58,9 +61,6 @@ const allPreset = {
5861 // "prefer-read-only-props": "warn", // This rule requires type information
5962 "prefer-shorthand-boolean" : "warn" ,
6063 "prefer-shorthand-fragment" : "warn" ,
61- // eslint-disable-next-line perfectionist/sort-objects
62- "avoid-shorthand-boolean" : "warn" ,
63- "avoid-shorthand-fragment" : "warn" ,
6464
6565 // Part: DOM
6666 "dom/no-children-in-void-dom-elements" : "warn" ,
@@ -96,9 +96,10 @@ const allPreset = {
9696} as const satisfies RulePreset ;
9797
9898const corePreset = {
99+ "ensure-forward-ref-using-ref" : "warn" ,
99100 // "avoid-shorthand-boolean": "warn",
100101 // "avoid-shorthand-fragment": "warn",
101- "ensure-forward-ref-using-ref " : "warn" ,
102+ "jsx-uses-vars " : "warn" ,
102103 "no-access-state-in-setstate" : "error" ,
103104 "no-array-index-key" : "warn" ,
104105 "no-children-count" : "warn" ,
0 commit comments