@q42/tslint-react-native-a11y
v0.1.0
Published
TSLint rules to enhance accessibility in React Native apps.
Downloads
7
Readme
TSLint React Native Accessibility rules
TSLint rules to enhance accessibility in React Native apps. TSLint.
Usage
{
"extends": ["tslint:latest", "@q42/tslint-react-native-a11y"],
"rules": {
// override tslint-react-native-a11y rules here
}
}
Rules
tsx-a11y-touchables
- Enforces you to set either
accessible={false}
or setaccessible={true}
withaccessibilityRole={}
andaccessibilityLabel={}
as well.
- Enforces you to set either