@@ -25,8 +25,9 @@ Linter rules can have false positives, false negatives, and some rules are depen
2525
2626| Rule | ✅ | 🌟 | Description | ` react ` |
2727| :----------------------------------------------------------------------------------- | :- | :------: | :---------------------------------------------------------------------------------------------------- | :-----: |
28- | [ ` avoid-shorthand-boolean ` ] ( ./avoid-shorthand-boolean ) | 0️⃣ | ` 🔧 ` | Enforces explicit boolean values for boolean attributes | |
29- | [ ` avoid-shorthand-fragment ` ] ( ./avoid-shorthand-fragment ) | 0️⃣ | | Enforces explicit ` <Fragment> ` components instead of the shorthand ` <> ` or ` </> ` syntax | |
28+ | [ ` jsx-no-duplicate-props ` ] ( ./jsx-no-duplicate-props ) | 1️⃣ | | Disallow duplicate props in JSX elements | |
29+ | [ ` jsx-no-undef ` ] ( ./jsx-no-undef ) | 2️⃣ | | Disallow undefined variables in JSX elements | |
30+ | [ ` jsx-uses-vars ` ] ( ./jsx-uses-vars ) | 1️⃣ | | Marks variables used in JSX elements as used | |
3031| [ ` no-access-state-in-setstate ` ] ( ./no-access-state-in-setstate ) | 2️⃣ | | Disallow accessing ` this.state ` inside ` setState ` calls | |
3132| [ ` no-array-index-key ` ] ( ./no-array-index-key ) | 1️⃣ | | Disallow an item's index in the array as its key | |
3233| [ ` no-children-count ` ] ( ./no-children-count ) | 1️⃣ | | Disallow ` Children.count ` | |
@@ -74,9 +75,8 @@ Linter rules can have false positives, false negatives, and some rules are depen
7475| [ ` prefer-read-only-props ` ] ( ./prefer-read-only-props ) | 0️⃣ | ` 💭 ` ` 🧪 ` | Enforces read-only props in components | |
7576| [ ` prefer-shorthand-boolean ` ] ( ./prefer-shorthand-boolean ) | 0️⃣ | ` 🔧 ` | Enforces shorthand syntax for boolean attributes | |
7677| [ ` prefer-shorthand-fragment ` ] ( ./prefer-shorthand-fragment ) | 0️⃣ | ` 🔧 ` | Enforces shorthand syntax for fragments | |
77- | [ ` jsx-no-duplicate-props ` ] ( ./jsx-no-duplicate-props ) | 1️⃣ | | Disallow duplicate props in JSX elements | |
78- | [ ` jsx-no-undef ` ] ( ./jsx-no-undef ) | 2️⃣ | | Disallow undefined variables in JSX elements | |
79- | [ ` jsx-uses-vars ` ] ( ./jsx-uses-vars ) | 1️⃣ | | Marks variables used in JSX elements as used | |
78+ | [ ` avoid-shorthand-boolean ` ] ( ./avoid-shorthand-boolean ) | 0️⃣ | ` 🔧 ` | Enforces explicit boolean values for boolean attributes | |
79+ | [ ` avoid-shorthand-fragment ` ] ( ./avoid-shorthand-fragment ) | 0️⃣ | | Enforces explicit ` <Fragment> ` components instead of the shorthand ` <> ` or ` </> ` syntax | |
8080
8181## DOM Rules
8282
0 commit comments