Answer the question
In order to leave comments, you need to log in
How to disable auto spaces when import'e?
import { Message } from 'src/common/enum/message';
If an interface\function\class, whatever is imported automatically (by clicking the appropriate line in the tooltip), spaces are placed around the imported object. What parameter in the settings is responsible for this, and can it be disabled?
import {Message} from 'src/common/enum/message';
Answer the question
In order to leave comments, you need to log in
Plugin Prettier - Code formatter , all settings
Create a file .prettierrc
in the root of the project
// https://prettier.io/docs/en/options.html#bracket-spacing
{
"bracketSpacing": false
}
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question