canonical
Version:
Canonical code style linter and formatter for JavaScript, SCSS, CSS and JSON.
32 lines (21 loc) • 393 B
Markdown
# URL Quotes
Rule `url-quotes` will enforce that URLs are wrapped in quotes.
## Examples
When enabled, the following are allowed:
```scss
.foo {
background-image: url('foo.png');
}
.qux {
background-image: url('bar/' + $foo);
}
```
When enabled, the following are disallowed:
```scss
.bar {
background-image: url(foo.png);
}
.norf {
background-image: url(bar/ + $foo);
}
```