6

Anyone know of any plugin or any way of getting VSCode stylelint autofix when using styled-components?

Fjandin
  • 99
  • 1
  • 5
  • 1
    As mentioned in https://styled-components.com/docs/tooling#setup stylelint auto-fix does not work with styled-components. – Narbhakshi Nov 24 '20 at 11:27

1 Answers1

1

update 2022: you can use vscode-styled-components for :

  • Syntax highlighting for styled components in JavaScript and TypeScript.
  • Detailed CSS IntelliSense while working in styled strings.
  • Syntax error reporting.
Mehran Motiee
  • 3,547
  • 1
  • 13
  • 16
  • 1
    As of Feb 2022, this is the correct link https://marketplace.visualstudio.com/items?itemName=styled-components.vscode-styled-components – rantao Feb 14 '22 at 17:46