@@ -15,7 +15,10 @@ import { padKeysLeft } from "./utils";
15
15
16
16
const allPreset = {
17
17
// Part: Core
18
+ "avoid-shorthand-boolean" : "warn" ,
19
+ "avoid-shorthand-fragment" : "warn" ,
18
20
"ensure-forward-ref-using-ref" : "warn" ,
21
+ "jsx-uses-vars" : "warn" ,
19
22
"no-access-state-in-setstate" : "error" ,
20
23
"no-array-index-key" : "warn" ,
21
24
"no-children-count" : "warn" ,
@@ -58,9 +61,6 @@ const allPreset = {
58
61
// "prefer-read-only-props": "warn", // This rule requires type information
59
62
"prefer-shorthand-boolean" : "warn" ,
60
63
"prefer-shorthand-fragment" : "warn" ,
61
- // eslint-disable-next-line perfectionist/sort-objects
62
- "avoid-shorthand-boolean" : "warn" ,
63
- "avoid-shorthand-fragment" : "warn" ,
64
64
65
65
// Part: DOM
66
66
"dom/no-children-in-void-dom-elements" : "warn" ,
@@ -96,9 +96,10 @@ const allPreset = {
96
96
} as const satisfies RulePreset ;
97
97
98
98
const corePreset = {
99
+ "ensure-forward-ref-using-ref" : "warn" ,
99
100
// "avoid-shorthand-boolean": "warn",
100
101
// "avoid-shorthand-fragment": "warn",
101
- "ensure-forward-ref-using-ref " : "warn" ,
102
+ "jsx-uses-vars " : "warn" ,
102
103
"no-access-state-in-setstate" : "error" ,
103
104
"no-array-index-key" : "warn" ,
104
105
"no-children-count" : "warn" ,
0 commit comments