Skip to content

Commit a9e6ef9

Browse files
committedMar 27, 2025··
fix(eslint-plugin): disable 'prefer-shorthand-*' rules in 'all' config
1 parent 761080f commit a9e6ef9

File tree

1 file changed

+2
-2
lines changed
  • packages/plugins/eslint-plugin/src/configs

1 file changed

+2
-2
lines changed
 

Diff for: ‎packages/plugins/eslint-plugin/src/configs/all.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,8 @@ export const rules = {
5858
"@eslint-react/no-useless-forward-ref": "warn",
5959
"@eslint-react/no-useless-fragment": "warn",
6060
"@eslint-react/prefer-destructuring-assignment": "warn",
61-
"@eslint-react/prefer-shorthand-boolean": "warn",
62-
"@eslint-react/prefer-shorthand-fragment": "warn",
61+
"@eslint-react/prefer-shorthand-boolean": "off",
62+
"@eslint-react/prefer-shorthand-fragment": "off",
6363

6464
"@eslint-react/dom/no-dangerously-set-innerhtml": "warn",
6565
"@eslint-react/dom/no-dangerously-set-innerhtml-with-children": "error",

0 commit comments

Comments
 (0)
Please sign in to comment.