postcss-custom-properties-checker

1.0.0 • Public • Published

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' }],
    ],
};

Package Sidebar

Install

npm i postcss-custom-properties-checker

Weekly Downloads

4

Version

1.0.0

License

MIT

Unpacked Size

4.47 kB

Total Files

4

Last publish

Collaborators

  • nolimitdev