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

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

Details

URLs should always be enclosed within quotes.

Bad: no enclosing quotes

background: url(example.png);

Good

background: url('example.png');

Using quoted URLs is consistent with using other Sass asset helpers, which also expect quoted strings. It also works better with most syntax highlighters, and makes it easier to escape characters, as the escape rules for strings apply, rather than the different set of rules for literal URLs.

See the URL type documentation for more information.





© 2015 - 2024 Weber Informatics LLC | Privacy Policy