SimenB / stylint

Improve your Stylus code with Stylint
https://simenb.github.io/stylint/
GNU General Public License v2.0
348 stars 62 forks source link

usage with css modules #388

Closed charlierudolph closed 7 years ago

charlierudolph commented 7 years ago

When using with css-modules if defining a global block

:global 
  .global-class-name 
    color green

The first line errors with unnecessary colon found

SimenB commented 7 years ago

Hmm, I haven't run into that issue myself when using CSS modules. I prefer having colons though, that's probably why.