rules.scsslint.Compass__PropertyWithMixin.html Maven / Gradle / Ivy
Details
Prefer Compass mixins for properties when they exist.
Bad: property possibly not fully supported in all browsers
border-radius: 5px;
Good: using Compass mixin ensures all vendor-prefixed extensions are rendered
@include border-radius(5px);
These mixins include the necessary vendor-prefixed properties to increase the
number of browsers the CSS supports.
In the event you don't want to be warned about certain properties, you can opt
to ignore them by listing them in the ignore
option, e.g. in your
.scss-lint.yml
:
linters:
Compass::PropertyWithMixin:
ignore:
- 'inline-block'
Configuration Option
Description
ignore
Array of Compass mixins that should not be preferred.