postcss / postcss-custom-properties

Use Custom Properties in CSS
https://postcss.github.io/postcss-custom-properties
MIT License
596 stars 77 forks source link

Feature request: add support for `noValueNotifications: 'off'` #104

Closed mgcrea closed 6 years ago

mgcrea commented 6 years ago

Would be great to be able to pass "off" to the noValueNotifications option in addition to "warning" and "error" (just like eslint rules) to be able to selectively turn off these notifications without having to disable all warnings.

Will gladly submit a PR if you agree on the idea.

Thanks for the great work,

jonathantneal commented 6 years ago

Yes, I would accept a PR, especially if you show prior art (like eslint rules) for the option name/value.

jonathantneal commented 6 years ago

When warnings are enabled, the noValueNotifications option

Are you sure this doesn’t already do what you want?