All Downloads are FREE. Search and download functionalities are using the official Maven repository.

rules.scsslint.ColorKeyword.html Maven / Gradle / Ivy

Go to download

Consume reports generated by scsslint for code quality. Also consume reports for code duplication (either simian or cpd). The information generated by reports are added in Sonar

There is a newer version: 2.1.0
Show newest version

Details

Prefer hexadecimal color codes over color keywords.

Bad: color keyword

color: green;

Good: hexadecimal color

color: #0f0;

Color keywords look like variables but are not variables. See the ColorVariable linter for more justification on why you should always refer to colors via variables.





© 2015 - 2025 Weber Informatics LLC | Privacy Policy