SimenB / stylint

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

`@stylint ignore` for specific "rules" with explain comment #335

Open ryuran opened 8 years ago

ryuran commented 8 years ago

Hello!

span
  float left // @stylint ignore 'noImportant' because we need it to be stronger than everything (NB: exclude Chuck Noris)

Refer to https://github.com/rossPatton/stylint/issues/248 But it seems better to make a generic syntax to disable only specific rule.

Allow !important on a line should not allow everything else.

SimenB commented 7 years ago

Good idea! Will get to it after 2.0 is released 😄