![]() ![]() ![]() All, only one prettier file can be configured. If there is, the setting in vscode setting will not be used, so it is best to configure a separate prettier configuration file for each project.Īnd there is no way to configure the line without a semicolon in. The above configuration has no effect the reasonĪbove prettier 3.7, the editorconfig or prettier config in the root directory of the project will be read first. ![]() "prettier.singleQuote": true, //Use quotes instead of double quotes Solve the problem that the vscode formatting code removes the semicolon at the end of the code and uses single quotes instead of double quotes to fail In some projects, prettier single quote formatting will not work "mi": true, //Remove the semicolon at the end of the code ![]()
0 Comments
Leave a Reply. |