A
A
Artyom2021-05-05 11:44:41
JavaScript
Artyom, 2021-05-05 11:44:41

Why doesn't prettier + stylelint work in Webstorm?

Good afternoon, dear developers. I ask for your help. I'm using VScode which has the Prettier and Stylelint plugins installed. Each has a config file and they work great together. When saving, I correct errors and sort the order of styles. But when I try to run this build in Storm it doesn't respond at all.
Here is the config:
.stylelintrc.js

module.exports = {
  syntax: "scss",
  extends: ["stylelint-config-rational-order", "stylelint-config-prettier"],
  plugins: [
    "stylelint-order",
    "stylelint-scss",
    "stylelint-selector-bem-pattern",
  ],
};

.prettierrc.json
{
  "printWidth": 80,
  "tabWidth": 2,
  "useTabs": false,
  "semi": true,
  "singleQuote": false,
  "trailingComma": "all",
  "bracketSpacing": true,
  "jsxBracketSameLine": false,
  "arrowParens": "avoid",
  "proseWrap": "always"
}

60925ace53a5d666200174.png
60925ad7be2ec854817933.png

I will be glad to any advice!

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question