question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[vsCode 1.23.0] Prettier seems to ignore stylelint config on save

See original GitHub issue

I’m not entirely sure if this is a prettier or stylelint issue, but it’s just popped up with the most recent update of vsCode (1.23.0)

Prior to 1.23.0, Prettier would execute the linting rules set forth within my .stylelintrc.json file when I had "prettier.stylelintIntegration": true,. Now it seems to be disregarding the lint rules and just formatting based on default rules.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:13 (4 by maintainers)

github_iconTop GitHub Comments

12reactions
ekfuhrmanncommented, May 4, 2018

I found the culprit, VS Code Beautify.

It seems that something with 1.23.0 gives it precedent over Prettier since this was never an issue prior to the update. I don’t really use this extension much anymore since I now use Prettier, so there is no issue for me to remove it, but with it being as popular as it is, there may well be other issues like this cropping up as people update to 1.23.0.

If you have no further questions for me, please feel free to close. Thanks for the help!

10reactions
Mohamed3oncommented, May 8, 2018

I don’t have beautify, and it’s still not formatting for me.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Prettier vscode extension ignoring config files - Stack Overflow
The extension seems to ignore the config file completely. A collegue has the extension and it works fine with config files. I'm trying...
Read more >
vscode prettier ignore - You.com | The search engine you control.
prettier -vscode can be installed using the extension sidebar – it's called “Prettier ... 1.23.0] Prettier seems to ignore stylelint config on save#440....
Read more >
Ignoring code - Stylelint
Ignoring code. You can ignore: within files; files entirely. Within files​. You can temporarily turn off rules using special comments in your CSS....
Read more >
vscode-stylelint - Visual Studio Marketplace
To prevent both VS Code's built-in linters and Stylelint from reporting the same errors, you can disable the built-in linters in either the...
Read more >
homebrew-core - Homebrew Formulae
a2ps 4.14 Any‑to‑PostScript filter aacgain 1.8 AAC‑supporting version of mp3gain aalib 1.4rc5 Portable ASCII art graphics library aamath 0.3 Renders mathematical expressions as ASCII art
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found