stylelint-function-url-local-root

1.0.0 • Public • Published

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");

Readme

Keywords

none

Package Sidebar

Install

npm i stylelint-function-url-local-root

Weekly Downloads

1,155

Version

1.0.0

License

WTFPL

Unpacked Size

2.6 kB

Total Files

3

Last publish

Collaborators

  • tradingview-admin
  • subzey
  • apovazhnyj