stylelint-function-url-local-root
v1.0.0
Published
Allow or disallow setting filenames from root
Downloads
5,687
Readme
tradingview/function-url-local-root
Allow or disallow URLs from local root.
Options:
"always"
, "never"
always
/* Okay: */
background: url(/foo/bar);
background-image: url('/foo/bar');
content: url("/foo/bar");
/* Error: */
background: url(foo/bar);
background-image: url('foo/bar');
content: url("foo/bar");
never
/* Okay: */
background: url(foo/bar);
background-image: url('foo/bar');
content: url("foo/bar");
/* Never: */
background: url(/foo/bar);
background-image: url('/foo/bar');
content: url("/foo/bar");