postcss-custom-properties-checker
v1.0.0
Published
PostCSS plugin to check unresolved postcss-custom-properties
Downloads
6
Maintainers
Readme
postcss-custom-properties-checker
PostCSS plugin to check unresolved postcss-custom-properties.
Plugin was created because of postcss-custom-properties since version 8.0.0
removed very usefull warnings
and noValueNotifications
options and never bring back it.
Install
To install with npm or yarn, use
npm install --save postcss-custom-properties-checker
// or
yarn add postcss-custom-properties-checker
Options
unresolved
Similarly as in postcss-color-mod-function there are three options: throw
, warn
, and ignore
. The default option is to throw
.
Usage
postcss.config.js
module.exports = {
plugins: [
// Plugins for PostCSS
['postcss-custom-properties', {}],
['postcss-custom-properties-checker', { unresolved : 'warn' }],
],
};