postcss-bialint

PostCSS plugin for bia

Usage no npm install needed!

<script type="module">
  import postcssBialint from 'https://cdn.skypack.dev/postcss-bialint';
</script>

README

PostCSS Bia Build Status

PostCSS plugin for bia.

.foo {
  background-image: url(https://www.baidu.com/1.png);  /* that will be ok*/
}
.foo {
  background-image: url(http://www.baidu.com/1.png);  /* an error will be throw */
}
.foo {
  background-image: url(http://www.baidu.com/1.png) /* ignore-protocol */;  /* ignore check */
}

Usage

postcss([ require('postcss-bialint') ])

See PostCSS docs for examples for your environment.