用于在属性和值之间强制执行 space 的 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 代码 (1.44.0) 和 Sass 扩展 (1.8.2),但我有一个警告问题:Property should have one space Between the prop and value Sass(Property: 1)
,尽管它的格式正确。它似乎应该绑定到 "sass.format.setPropertySpace": false,
属性
我已尝试将所有可能的 Sass linting 选项设置为忽略,但警告仍然存在。
设置 "sass.lint.enable": false
并不能阻止它,我似乎可以阻止它的唯一方法是完全禁用 Sass 扩展。
是否有我缺少的设置 属性,或者有其他方法可以禁用它?还是错误?
更新
我用 sass 格式化程序提交了一个工单,可以在这里找到 https://github.com/TheRealSyler/sass-formatter/issues/23
我遇到了同样的问题,但我只是从 Syler 卸载了 Sass 扩展并重新安装它,然后 boomm,它不再显示 "property should have one space between the prop and value" 问题。
希望对您有所帮助!
希望对您有所帮助!
图片支持!
转到设置并禁用 sass lint
Sass>Lint:启用(未选中)
enter image description here
我有最新版本的 Visual Studio 代码 (1.44.0) 和 Sass 扩展 (1.8.2),但我有一个警告问题:Property should have one space Between the prop and value Sass(Property: 1)
,尽管它的格式正确。它似乎应该绑定到 "sass.format.setPropertySpace": false,
属性
我已尝试将所有可能的 Sass linting 选项设置为忽略,但警告仍然存在。
设置 "sass.lint.enable": false
并不能阻止它,我似乎可以阻止它的唯一方法是完全禁用 Sass 扩展。
是否有我缺少的设置 属性,或者有其他方法可以禁用它?还是错误?
更新
我用 sass 格式化程序提交了一个工单,可以在这里找到 https://github.com/TheRealSyler/sass-formatter/issues/23
我遇到了同样的问题,但我只是从 Syler 卸载了 Sass 扩展并重新安装它,然后 boomm,它不再显示 "property should have one space between the prop and value" 问题。
希望对您有所帮助!
希望对您有所帮助!
图片支持!
转到设置并禁用 sass lint
Sass>Lint:启用(未选中)
enter image description here