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

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

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 - 2024 Weber Informatics LLC | Privacy Policy