tslint-react-native
v0.0.7
Published
TSLint rules for React Native
Downloads
592
Readme
tslint-react-native
This package includes TSLint rules for React Native development
Available rules
no-unused-styles
shows unused styles created withStyleSheet.create
Usage
- Install as dev dependency with
npm i -D tslint-react-native
- In your
tslint.json
addtslint-react-native
as array item toextends
- Enable the rules you want like in code example below
Example config for tslint.json
:
{
"extends": ["tslint-react-native"],
"rules": {
"no-unused-styles": true
}
}