@tendnz/eslint-plugin-react-native-typed
v0.1.1
Published
eslint plugin for react native with typescript
Keywords
Readme
React Native eslint plugin, with typed checks
This plugin contains a set of ESLint rules for React Native applications. It combines elements of eslint-plugin-react-native-a11y and eslint-plugin-react-native as both are no longer maintained by their authors. Code from both plugins has been used here.
Setup
todo when the plugin is deployed
Configuration
This plugin exposes the following configs:
| Name | Description | |:------|:--------------- | | all | All rules |
Rules
- has-valid-accessibility-ignores-colors: Enforces that
accessibilityIgnoresInvertColorsis set to opt in or out of color inversion - pressable-has-accessibility-role: Enforces that
accessibilityRoleis set on all uses ofPressableorTouchable
