You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(a11y): remove custom rules from a11y config (#65)
* BREAKING CHANGE: remove custom rules from config a11y
* docs: update a11y documentation for removed rules
* fix(example-app): no custom rules in eslint config
---------
Co-authored-by: Hugo K <hugo.khlaut@student-cs.fr>
|[accessibility-props-require-accessible](https://github.com/bamlab/react-native-project-config/blob/main/packages/eslint-plugin/docs/rules/accessibility-props-require-accessible.md)| Requires accessible prop when accessibility props are defined |♿ |🔧 ||
93
-
|[do-not-use-role-on-image](https://github.com/bamlab/react-native-project-config/blob/main/packages/eslint-plugin/docs/rules/do-not-use-role-on-image.md)| Disallow role prop on Image component |♿ |🔧 ||
|[require-named-effect](https://github.com/bamlab/react-native-project-config/blob/main/packages/eslint-plugin/docs/rules/require-named-effect.md)| Enforces the use of named functions inside a useEffect ||||
96
-
|[requires-accessibility-label](https://github.com/bamlab/react-native-project-config/blob/main/packages/eslint-plugin/docs/rules/requires-accessibility-label.md)| Enforces label when component accessible |♿ || 💡 |
97
-
|[requires-accessibility-role-when-accessible](https://github.com/bamlab/react-native-project-config/blob/main/packages/eslint-plugin/docs/rules/requires-accessibility-role-when-accessible.md)| Enforces accessibilityRole or role when component is accessible |♿ || 💡 |
|[accessibility-props-require-accessible](https://github.com/bamlab/react-native-project-config/blob/main/packages/eslint-plugin/docs/rules/accessibility-props-require-accessible.md)| Requires accessible prop when accessibility props are defined | 🔧 ||
91
+
|[do-not-use-role-on-image](https://github.com/bamlab/react-native-project-config/blob/main/packages/eslint-plugin/docs/rules/do-not-use-role-on-image.md)| Disallow role prop on Image component | 🔧 ||
|[require-named-effect](https://github.com/bamlab/react-native-project-config/blob/main/packages/eslint-plugin/docs/rules/require-named-effect.md)| Enforces the use of named functions inside a useEffect |||
94
+
|[requires-accessibility-label](https://github.com/bamlab/react-native-project-config/blob/main/packages/eslint-plugin/docs/rules/requires-accessibility-label.md)| Enforces label when component accessible || 💡 |
95
+
|[requires-accessibility-role-when-accessible](https://github.com/bamlab/react-native-project-config/blob/main/packages/eslint-plugin/docs/rules/requires-accessibility-role-when-accessible.md)| Enforces accessibilityRole or role when component is accessible || 💡 |
Copy file name to clipboardExpand all lines: packages/eslint-plugin/docs/rules/image-requires-accessible-prop.md
-2Lines changed: 0 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,5 @@
1
1
# Require accessible prop on image components (`@bam.tech/image-requires-accessible-prop`)
2
2
3
-
💼 This rule is enabled in the ♿ `a11y` config.
4
-
5
3
🔧💡 This rule is automatically fixable by the [`--fix` CLI option](https://eslint.org/docs/latest/user-guide/command-line-interface#--fix) and manually fixable by [editor suggestions](https://eslint.org/docs/developer-guide/working-with-rules#providing-suggestions).
0 commit comments