anandthakker / doiuse

:bomb: Lint CSS for browser support against caniuse database.
MIT License
1.24k stars 51 forks source link

Add option to supress output via postcss warn #39

Closed ChristianAuth closed 1 year ago

ChristianAuth commented 8 years ago

Hey,

i am using doiuse within a custom gulp based building system and it would be great to be able to supress any output from doiuse.

Would you accept a pull requestr for this?

cheers Chris

anandthakker commented 8 years ago

I'm open to it, but I wonder if this might be even more useful as an option on postcss itself?

dmitriyK1 commented 8 years ago

+1 Please add option to suppress output, for example:

doiuse({
    console: false
})
anandthakker commented 8 years ago

@dmitriyK1 I'd be more than happy to review/accept a PR for this, but probably won't have time to handle it myself in the next little while

clshortfuse commented 1 year ago

Seems like onFeatureUsage covers this and can be overloaded (disabled). If there's still an output, probably related to #108