anandthakker / doiuse

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

Wrong version reported #31

Closed jamime closed 8 years ago

jamime commented 8 years ago

When running the following in part of a gulp build

            .pipe(postcss([doiuse({
                browsers: [
                    'ie 11'
                ],
                onFeatureUsage: function (usageInfo) {
                    console.log(usageInfo.message)
                }
            })]))

I get output such as index.css:3:81579: CSS3 2D Transforms not supported by: IE (8), Opera Mini (5.0-8.0) (transforms2d) despite specifying ie 11.

Any ideas?