Search code examples
javascriptwebstormlint

How can I make WebStorm use double-quotes when generating code?


WebStorm is very helpful in that it automatically generates import statements like the following:

import { CART_DECREASE_STEP } from "@/store/mutation-types";

However it generates it using single-quotes.

How can I make it use double-quotes to match my lint-settings?


Solution

  • The answer is found here

    WebStorm/PhpStorm double quotes in TypeScript auto import

    as suggested by @anstarovoyt