eslint-plugin-react-native
eslint-plugin-react-native copied to clipboard
feat: option for rule 'no-inline-styles'
Added an option for rule 'no-inline-styles'.
- "allowStylePropertiesLessThan" – allow style properties count less than a specific number. for e.g.
2
will allow{fontSize: 15}
but not{fontSize: 15, fontColor: 'white'}
Tested on my local machine and works.
Kudos, SonarCloud Quality Gate passed!
0 Bugs
0 Vulnerabilities
0 Security Hotspots
0 Code Smells
No Coverage information
0.0% Duplication
are you guys still here?