eslint-plugin-react-native icon indicating copy to clipboard operation
eslint-plugin-react-native copied to clipboard

feat: option for rule 'no-inline-styles'

Open Misaka-0x447f opened this issue 3 years ago • 2 comments

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.

Misaka-0x447f avatar Feb 08 '22 11:02 Misaka-0x447f

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

sonarqubecloud[bot] avatar Feb 09 '22 02:02 sonarqubecloud[bot]

are you guys still here?

Misaka-0x447f avatar Aug 23 '22 02:08 Misaka-0x447f