visual-studio-code - 获取 stylelint 修复以使用 VSCode 中的样式组件

标签 visual-studio-code styled-components stylelint

任何人都知道在使用样式组件时有任何插件或任何获取 VSCode stylelint 自动修复的方法吗?

最佳答案

您可以使用 vscode-styled-components为了 :

  • JavaScript 和 TypeScript 中样式组件的语法高亮显示。
  • 在处理样式字符串时详细的 CSS IntelliSense。
  • 语法错误报告。
  • 关于visual-studio-code - 获取 stylelint 修复以使用 VSCode 中的样式组件,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/55660188/

    相关文章:

    visual-studio-code - 从扩展中禁用 wordBasedSuggestions

    html - 如何将 Logo 放在顶部,将页脚放在底部?

    css - 为什么会出现意外的名称或十六进制数字错误?

    docker - VSCode 运行旧容器时出现问题

    c# - 如何使用运行 Xunit 和 C# 的 vscode 验证我的代码覆盖率

    google-chrome - VS Code 和 Chrome 调试扩展 - 打开 Chrome 的新实例?

    javascript - react : Stop a styled-components animation from running when the component is first mounted

    reactjs - typescript 将样式化的组件 Prop 与父级 Prop 合并

    css - 我想自动修复我的 CSS 源文件,但我遇到了无限循环

    css - Stylelint - 第一个嵌套 block 之前的新行