Skip to content

Commit 4aa6118

Browse files
committed
fix(eslint-plugin): change 'avoid-shorthand-*' rules from 'off' to 'warn' in 'all' config
1 parent 58fb72a commit 4aa6118

File tree

1 file changed

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

1 file changed

+2
-2
lines changed

packages/plugins/eslint-plugin/src/configs/all.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ import * as dom from "./dom";
1010
export const name = "@eslint-react/all";
1111

1212
export const rules = {
13-
"@eslint-react/avoid-shorthand-boolean": "off",
14-
"@eslint-react/avoid-shorthand-fragment": "off",
13+
"@eslint-react/avoid-shorthand-boolean": "warn",
14+
"@eslint-react/avoid-shorthand-fragment": "warn",
1515
"@eslint-react/jsx-no-duplicate-props": "warn",
1616
"@eslint-react/jsx-no-undef": "error",
1717
"@eslint-react/jsx-uses-vars": "warn",

0 commit comments

Comments
 (0)