I don't have prettier extension installed, but after reading the possible duplicate answer I've added from scratch in my User Setting (UserSetting.json, Ctrl+, shortcut):

"prettier.singleQuote": true

A part a green warning (Unknown configuration setting) the single quotes are no more replaced.

I suspect that the prettier extension is not visible but is embedded inside the Vetur extension.

Answer from attdona on Stack Overflow
🌐
GitHub
github.com › prettier › prettier › issues › 2338
Single quotes are sometimes replaced with double quotes even when "prettier.singleQuote: true" is specified · Issue #2338 · prettier/prettier
June 28, 2017 - Specifically, when prettier is run on a string like this: ... The expected behavior (I think) is to continue using single quotes since the setting prohibits the use of double quotes. My temporary workaround is to change the string to:
Author   alexjlockwood
🌐
GitHub
github.com › prettier › prettier-vscode › issues › 1099
Prettier "prettier.singleQuote" not working in 1.40 vs code · Issue #1099 · prettier/prettier-vscode
November 26, 2019 - Expected result: File should format with "singleQuotes" File is formatted with double quotes · VS Code Version: Version: 1.40.1 (user setup) Commit: 8795a9889db74563ddd43eb0a897a2384129a619 Date: 2019-11-13T16:49:35.976Z Electron: 6.1.2 Chrome: 76.0.3809.146 Node.js: 12.4.0 V8: 7.6.303.31-electron.0 OS: Windows_NT x64 6.1.7601 · OS and version: Windows 7 Enterprise Version 6.1(Build 7601: Service Pack 1) [INFO - 10:09:39 AM] Extension Name: "prettier-vscode".
Author   sreekumarp
Discussions

cannot format doubleQuotes to singleQuote in single javascript file
version:3.8.0 please ignore my english,and fix this bug More on github.com
🌐 github.com
30
November 21, 2019
singleQuote config is not respected
I always get my code with double quotes, even when I have set. More on github.com
🌐 github.com
28
August 30, 2017
eslint - Prettier doesn't work for changing double quote to single quote in visual code - Stack Overflow
This only happens if you have ' in your string e.g. ('it\'s a thing'). Prettier has this issue and there is apparently no solution to this. My workaround is, using `` (string template syntax) for such strings and single quote for all other strings. ... You don't have to escape this. ... Not true. More on stackoverflow.com
🌐 stackoverflow.com
"prettier.singleQuote: true" not being honored for vanilla javascript files
I have this setting set in both visual studio's user setting in .prettierrc within my project. When I format my VueJS files, this setting is getting honored for any javascript contained in my More on github.com
🌐 github.com
5
April 26, 2018
🌐
GitHub
github.com › prettier › prettier-vscode › issues › 1085
cannot format doubleQuotes to singleQuote in single javascript file · Issue #1085 · prettier/prettier-vscode
November 21, 2019 - prettier / prettier-vscode Public · There was an error while loading. Please reload this page. Notifications · You must be signed in to change notification settings · Fork 509 · Star 5.5k · New issueCopy link · New issueCopy link · Closed · Closed · cannot format doubleQuotes to singleQuote in single javascript file#1085 ·
Author   Fenglinwanyue
🌐
Medium
pjausovec.medium.com › prettier-single-quote-setting-not-respected-in-tsx-files-vs-code-8d34a9554b37
Prettier single quote setting not respected in .tsx files (VS Code) | by Peter Jausovec | Medium
March 7, 2021 - The solution is to set the jsxSingleQuote setting to true as well. This will change all double quotes in your .tsx files to single quote. Note that you’d want to keep the singleQuote setting around as well, if you want the single quotes in ...
🌐
Prettier
prettier.io › docs › options.html
Options · Prettier
July 5, 2023 - If the number of quotes outweighs the other quote, the quote which is less used will be used to format the string - Example: "I'm double quoted" results in "I'm double quoted" and "This \"example\" is single quoted" results in 'This "example" is single quoted'. See the strings rationale for more information. Change when properties in objects are quoted. ... Note that Prettier never unquotes numeric property names in Angular expressions, TypeScript, and Flow because the distinction between string and numeric keys is significant in these languages.
Find elsewhere
🌐
GitHub
github.com › prettier › prettier-vscode › issues › 206
singleQuote config is not respected · Issue #206 · prettier/prettier-vscode
August 30, 2017 - bugSomething isn't workingSomething isn't workinglockedLocked due to inactivityLocked due to inactivity ... I always get my code with double quotes, even when I have set.
Author   capaj
🌐
Prettier
prettier.io › docs › rationale.html
Rationale · Prettier
July 5, 2023 - Prettier only prints code. It does not transform it. This is to limit the scope of Prettier. Let’s focus on the printing and do it really well! Here are a few examples of things that are out of scope for Prettier: Turning single- or double-quoted strings into template literals or vice versa.
🌐
GitHub
github.com › prettier › prettier-vscode › issues › 345
Single Quote isn't applied on save or format document/selection · Issue #345 · prettier/prettier-vscode
January 22, 2018 - The semi colon rule works fine on save or formatting document, but the single quote will not resolve. If I run prettier --write, it picks up the .prettierrc and correctly changes to single quotes. ...
Author   akrueger
🌐
GitHub
github.com › prettier › prettier › issues › 2280
Trying to override eslint (using prettier) to use single quotes not double · Issue #2280 · prettier/prettier
June 27, 2017 - { "extends": "prettier", "env": { "browser": true, "node": true }, "parserOptions": { "ecmaVersion": 6, "sourceType": "module" }, "plugins": [ "prettier" ], "rules": { "prettier/prettier": "error", "quotes": ["error", "single"] } }
Author   iangregsondev
🌐
GitHub
github.com › prettier › prettier-atom › issues › 427
Can't turn on singleQuote · Issue #427 · prettier/prettier-atom
June 19, 2018 - at the same time (see screenshot) ESLint, on bahalf of prettier/prettier, asks to replace all single quotes with double quotes · removing 'prettier/prettier': 'error' from .eslintrc.js makes all these quote errors go away. But I'm afraid I may be throwing the baby out with the bathwater. You may have noticed that ESLint's own "quotes" rule was overridden to "single", so ESLint too should not want quotes to be double.
Author   drorp24
🌐
GitHub
github.com › prettier › prettier-vscode › issues › 1060
"singleQuote": true , but still it's not working, exchanges always to double qoutes · Issue #1060 · prettier/prettier-vscode
November 15, 2019 - prettier / prettier-vscode Public · There was an error while loading. Please reload this page. Notifications · You must be signed in to change notification settings · Fork 473 · Star 5.3k · New issueCopy link · New issueCopy link · Closed · Closed · "singleQuote": true , but still it's not working, exchanges always to double qoutes#1060 ·
Published   Nov 15, 2019
🌐
Reddit
reddit.com › r/vscode › vs code keeps changing my single quotes to double quotes, probably because of vetur extension but i've tried all the posted solutions already. nothing seems to be working
r/vscode on Reddit: VS code keeps changing my single quotes to double quotes, probably because of vetur extension but I've tried all the posted solutions already. Nothing seems to be working
July 25, 2020 -

I'm working with vue, but this keeps happening to all my .vue files. I have the vetur extension + prettier + eslint. Eslint fixes the double quotes to single quotes but I think either prettier or vetur is overwriting it. I may be missing one of the webpack files but I have no idea which one, or if I actually AM missing a file.

I've tried to add:

{
    "vetur.format.defaultFormatter.js": "prettier-eslint", 
    "eslint.validate": [ 
        { "language": "vue", "autoFix": true }, 
        { "language": "javascript", "autoFix": true } ], 
    "eslint.autoFixOnSave": true 
}

in a .prettierrc file as suggested by one of the solutions I found but it doesn't work for me. Idek what else to do, I'm pretty new to vue.

🌐
Medium
medium.com › @nayan.vekariya014 › prettier-in-vs-code-how-to-avoid-quote-wars-and-keep-your-team-sane-d622de5c7f29
🔧 Prettier in VS Code: How to Avoid Quote Wars and Keep Your Team Sane | by Nayan Vekariya | Medium
July 18, 2025 - If there’s no Prettier config in your project, VS Code falls back to your global or extension settings. So if your global Prettier setup uses singleQuote: true, VS Code will replace "double quotes" with 'single quotes', even if the original project uses double quotes.