
rules.scsslint.BangFormat.html Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of sonar-web-frontend-scss Show documentation
Show all versions of sonar-web-frontend-scss Show documentation
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
Details
Reports when you use improper spacing around !
(the "bang") in !default
, !global
, !important
, and !optional
flags.
You can prefer a single space or no space both before and after the !
.
Bad
color: #000!important;
Good
color: #000 !important;
Configuration Option
Description
space_before_bang
Whether a space should be present before the !
, as in color: #000 !important;
(default true)
space_after_bang
Whether a space should be present after the !
, as in color: #000 ! important;
(default false)
© 2015 - 2025 Weber Informatics LLC | Privacy Policy