map.get($ foo,bar)被标记为“分号期望的scss(css-semicolonexpected)”)

问题描述 投票:0回答:1
尝试使用SCSS映射时,特别是map.get()时出现掉毛错误。

我目前正在将Visual Studio Code的“ stylelint”扩展名与Create React App构建环境结合使用。

map.get($foo, bar);

触控笔在.map之间返回get()的错误

错误:分号为预期的scss(css-semicolonexpected)

尝试使用SCSS映射,特别是map.get()时,出现linting错误。我目前正在将Visual Studio Code的“ stylelint”扩展名与Create React App build结合使用...

css sass stylelint
1个回答
0
投票
再次查看SASS映射的文档,我发现有另一种语法:
© www.soinside.com 2019 - 2024. All rights reserved.