scss-lint icon indicating copy to clipboard operation
scss-lint copied to clipboard

Unknown property warning for 'gap' and 'row-gap'

Open somethingSTRANGE opened this issue 2 years ago • 1 comments

I'm using scss-lint-plugin in Rider 2022.2.3, and it flags the gap and row-gap properties with a "SCSS Lint: Unknown property (PropertySpelling)" warning.

According to scss-lint --version, I have 0.59.0 installed on my Windows 10 machine.

I reviewed "properties.txt" (located at "scss_lint-0.59.0\data"), and saw that neither of the following properties are included:

  • gap
  • row-gap

The other gap-related properties are included and do not present as warnings:

  • column-gap
  • grid-column-gap
  • grid-row-gap
  • grid-gap

Should row-gap and gap be added to this file?

somethingSTRANGE avatar Sep 19 '22 19:09 somethingSTRANGE

I see that gap was already added to "properties.txt" (https://github.com/sds/scss-lint/commit/6198c0c647b4b7863aa6dcfbb84daa10af73a7d8), however it still doesn't contain row-gap.

somethingSTRANGE avatar Sep 19 '22 20:09 somethingSTRANGE