문제 설명
소품과 값 사이에 공백을 적용하기 위한 Sass linting 규칙이 VS Code에서 잘못 작동합니까? (Is the Sass linting rule for enforcing a space between the prop and value working incorrectly with VS Code?)
최신 버전의 Visual Studio Code(1.44.0) 및 Sass 확장(1.8.2)이 있으며 다음 경고에 문제가 있습니다. Property must have one space between the prop and value Sass(Property: 1)
형식이 올바르게 지정되어 있음에도 불구하고 "sass.format.setPropertySpace": false,
속성
모든 가능한 Sass linting 옵션을 무시하도록 설정하려고 시도했지만 경고가 지속됩니다. .
"sass.lint.enable": false
를 설정해도 이를 방지하지 못합니다. 그리고 그것을 방지할 수 있는 유일한 방법은 Sass 확장을 완전히 비활성화하는 것입니다.
내가 누락된 설정 속성이 있습니까, 아니면 이것을 비활성화하는 다른 방법이 있습니까? 아니면 버그인가요?
업데이트
여기 https://github.com/TheRealSyler/sass‑formatter/issues/23
참조 솔루션
방법 1:
I hope it help!
image support!
go to setting and disable sass lint
Sass>Lint:Enable (unchecked )
방법 2:
I was having the same issue but I simply uninstalled the Sass extension from Syler and re‑installed it, and boomm, it stopped showing the "property should have one space between the prop and value" issue.
I hope it helps!
(by brewster、Ting、Michel Moraes)