File tree Expand file tree Collapse file tree 2 files changed +13
-8
lines changed
packages/plugins/eslint-plugin/src Expand file tree Collapse file tree 2 files changed +13
-8
lines changed Original file line number Diff line number Diff line change 4
4
5
5
- Fix debug rules not exporting correctly in ` @eslint-react/eslint-plugin ` .
6
6
7
+ ### 🪄 Improvements
8
+
9
+ - Remove rule ` prefer-shorthand-boolean ` from recommended presets.
10
+ - Remove rule ` prefer-shorthand-fragment ` from recommended presets.
11
+ - Remove rule ` prefer-destructuring-assignment ` from recommended presets.
12
+
7
13
## v1.5.15 (Sat 08 Jun 2024)
8
14
9
15
### 🐞 Fixes
16
22
17
23
### ✨ New
18
24
19
- - Add rule ` react/ avoid-shorthand-boolean` .
20
- - Add rule ` react/ avoid-shorthand-fragment` .
25
+ - Add rule ` avoid-shorthand-boolean ` .
26
+ - Add rule ` avoid-shorthand-fragment ` .
21
27
22
28
### 🐞 Fixes
23
29
24
- - Fix rule ` react- dom/no-missing-button-type` false positive when using ` type ` attribute in a JSX expression.
30
+ - Fix rule ` dom/no-missing-button-type ` false positive when using ` type ` attribute in a JSX expression.
25
31
26
32
## v1.5.13 (Tue 28 May 2024)
27
33
108
114
109
115
### 🐞 Fixes
110
116
111
- - Fix rule ` react- dom/no-render-return-value` not renamed in v1.0.0.
117
+ - Fix rule ` dom/no-render-return-value ` not renamed in v1.0.0.
112
118
113
119
### 🪄 Improvements
114
120
Original file line number Diff line number Diff line change @@ -120,10 +120,9 @@ const recommendedPreset = {
120
120
"no-unused-class-component-members" : "warn" ,
121
121
"no-unused-state" : "warn" ,
122
122
"no-useless-fragment" : "warn" ,
123
- "prefer-destructuring-assignment" : "warn" ,
124
- "prefer-shorthand-boolean" : "warn" ,
125
- "prefer-shorthand-fragment" : "warn" ,
126
-
123
+ // "prefer-destructuring-assignment": "warn",
124
+ // "prefer-shorthand-boolean": "warn",
125
+ // "prefer-shorthand-fragment": "warn",
127
126
// eslint-disable-next-line perfectionist/sort-objects
128
127
"dom/no-children-in-void-dom-elements" : "warn" ,
129
128
"dom/no-dangerously-set-innerhtml" : "warn" ,
You can’t perform that action at this time.
0 commit comments