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

colons rule reports incorrect column value #350

Open Arcanemagus opened 7 years ago

Arcanemagus commented 7 years ago

Rule

colons

Code to reproduce

multi.styl:

.test {
  color red
}

.stylintrc:

{
  "brackets": "never",
  "colons": "always"
}

Expected behavior

Column reported as the space between the property and value, or possibly the last character of the value?

Actual behavior

Regardless of the line content, it always reports column 5 as the offending column.

Tried:

Stylint version: v1.5.6 OS: Windows