sds / scss-lint

Configurable tool for writing clean, consistent SCSS
MIT License
3.65k stars 466 forks source link

PseudoElement does not work with ::placeholder property #965

Closed shiftgeist closed 4 years ago

shiftgeist commented 5 years ago

.scss-lint.yml (Using version 0.5.0)

PseudoElement:
    enabled: true

Error Message: PseudoElement: Begin pseudo classes with a single colon: ':'

Code:

&::placeholder {
    color: blue;
}

MDN says: The placeholder property is written with two colons.

sds commented 5 years ago

Are you sure you are using version 0.5.0, @shiftgeist? That's quite old—recommend you upgrade.

shiftgeist commented 5 years ago

Yes it is quite old, I try upgrading it monday đź‘Ť