@tofrankie/eslint 0.0.11 → 0.0.13

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # Changelog
2
2
 
3
+ ## eslint@0.0.13 (2026-03-14)
4
+
5
+ - Disable `style/multiline-ternary`, `style/jsx-wrap-multilines`, `style/jsx-curly-newline`, `style/jsx-one-expression-per-line` rules to avoid conflicts with Prettier
6
+
7
+ ## eslint@0.0.12 (2026-03-13)
8
+
9
+ - Update `style/operator-linebreak` rule
10
+ - Disable `style/indent` rule to avoid conflicts with Prettier
11
+
3
12
  ## eslint@0.0.11 (2026-03-13)
4
13
 
5
14
  - Add `style/member-delimiter-style` rule
package/dist/index.cjs CHANGED
@@ -204,11 +204,10 @@ const STYLE_PRESET_RULES = {
204
204
  "??": "after",
205
205
  "=": "after",
206
206
  "+": "after",
207
- "-": "after"
207
+ "-": "after",
208
+ "&": "after"
208
209
  } }
209
210
  ],
210
- "style/comma-dangle": "off",
211
- "style/indent-binary-ops": "off",
212
211
  "style/member-delimiter-style": ["error", {
213
212
  multiline: {
214
213
  delimiter: "none",
@@ -223,7 +222,14 @@ const STYLE_PRESET_RULES = {
223
222
  delimiter: "none",
224
223
  requireLast: false
225
224
  } } }
226
- }]
225
+ }],
226
+ "style/comma-dangle": "off",
227
+ "style/indent": "off",
228
+ "style/indent-binary-ops": "off",
229
+ "style/multiline-ternary": "off",
230
+ "style/jsx-wrap-multilines": "off",
231
+ "style/jsx-curly-newline": "off",
232
+ "style/jsx-one-expression-per-line": "off"
227
233
  };
228
234
 
229
235
  //#endregion
package/dist/index.mjs CHANGED
@@ -175,11 +175,10 @@ const STYLE_PRESET_RULES = {
175
175
  "??": "after",
176
176
  "=": "after",
177
177
  "+": "after",
178
- "-": "after"
178
+ "-": "after",
179
+ "&": "after"
179
180
  } }
180
181
  ],
181
- "style/comma-dangle": "off",
182
- "style/indent-binary-ops": "off",
183
182
  "style/member-delimiter-style": ["error", {
184
183
  multiline: {
185
184
  delimiter: "none",
@@ -194,7 +193,14 @@ const STYLE_PRESET_RULES = {
194
193
  delimiter: "none",
195
194
  requireLast: false
196
195
  } } }
197
- }]
196
+ }],
197
+ "style/comma-dangle": "off",
198
+ "style/indent": "off",
199
+ "style/indent-binary-ops": "off",
200
+ "style/multiline-ternary": "off",
201
+ "style/jsx-wrap-multilines": "off",
202
+ "style/jsx-curly-newline": "off",
203
+ "style/jsx-one-expression-per-line": "off"
198
204
  };
199
205
 
200
206
  //#endregion
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@tofrankie/eslint",
3
3
  "type": "module",
4
- "version": "0.0.11",
4
+ "version": "0.0.13",
5
5
  "description": "Shared ESLint configuration",
6
6
  "author": "Frankie <1426203851@qq.com>",
7
7
  "license": "MIT",