How to use ' instead of " in auto import in JetBrains products?

25 Views Asked by At

When I'm programming in TypeScript and I use auto-import in WebStorm, the IDE uses the quotes " but I want it to use the single quote '.

For example, currently the IDE imports as follows:

import {Numbers} from "../utils/constants/numbers";

But I want it to be imported like this:

import {Numbers} from '../utils/constants/numbers';

I've checked the IDE settings and I don't see an option to change that behavior.

I want this behavior as I am using TSLint and it flags me an observation if the quotes " are used on the import.

It is not my intention to change the configuration of TSLint.

0

There are 0 best solutions below