rules.scsslint.PropertySpelling.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 an unknown or disabled CSS property (ignoring vendor-prefixed
properties).
diplay: none; // "display" is spelled incorrectly
Since the list of available CSS properties is constantly changing, it's
possible that you might get some false positives here, especially if you're
using experimental CSS features. If that's the case, you can add additional
properties to the whitelist by adding the following to your .scss-lint.yml
configuration:
linters:
PropertySpelling:
extra_properties:
- some-experimental-property
- another-experimental-property
disabled_properties:
- some-existing-property
- another-existing-property
If you're sure the property in question is valid,
submit a request
to add it to the
default whitelist.
Configuration Option
Description
extra_properties
List of extra properties to allow
disabled_properties
List of existing properties to deny
© 2015 - 2025 Weber Informatics LLC | Privacy Policy