-
Notifications
You must be signed in to change notification settings - Fork 5
Linter Overwhelmed With Warnings #86
Comments
The linter will not report errors. I have a config file setup, which suppresses the infinite warning messages. However, with the config file working, the editor does not report any linting errors, even if I intentionally type a style that conflicts with a config rule. |
The first message is likely a duplicate of #74, the second message has nothing to do with this package (but if it's what I think it is, I think it's been fixed?).
If you run |
I am working on my configuration, but yes I can get the CLI styelint to display errors when running via the command line. |
Stylint version: 1.5.9 With the following file setup example:
File Contents.configrc:
test.styl body.assessment
.assessment_question_template
@media screen and (min-width: 48em)
display flex
flex-direction column
main
order 2
.assessment_index
order 1
.assessment_index
margin-top 0.5rem
ul
list-style none
margin 0
padding 0 2rem
display flex
flex-wrap wrap
justify-content flex-start
@media screen and (min-width 48em)
justify-content center
padding 0
li
a
border 1px solid transparent
color cs_black
display block
padding 0.5rem
text-align center
text-decoration none
transition all 0.5s ease
width 4rem
&:focus,
&:hover
background-color cs_gray-lightest
border 1px solid cs_gray-lighter
&.active
background-color cs_blue-lightest
border 1px solid cs_blue
@media screen and (min-width: 48em)
width: auto The CLI report that comes back reads:
It's linting as if the file type is .css or .scss. If I rename |
In Atom with the default linter-stylint settings: I have the same If I remove the |
Atom 1.19.1 x64
linter-stylint 2.2.7
The linter is highlighting everything that does not follow full CSS syntax and marking it with a warning.
The console has a warning message for every single line, complaining about missing colons between property and values, leading zeros in decimals, unnecessary colons - basically everything.
It's also spitting an additional error over and over:
Not sure if the two are related but whatever's going on has rendered Atom unusable for anything related to Stylus at the moment.
The text was updated successfully, but these errors were encountered: