Quantcast
Channel: Prettier doesn't work for changing double quote to single quote in visual code - Stack Overflow
Browsing latest articles
Browse All 4 View Live

Answer by Andrew for Prettier doesn't work for changing double quote to...

As you already have singleQuote: true set in your prettier config, I suspect that you're seeing your single quotes converted to double quotes specifically inside your JSX tags. This is because Prettier...

View Article



Answer by Matheus for Prettier doesn't work for changing double quote to...

just add the prettier configuration to your settings.json of visual code."prettier.singleQuote": true,

View Article

Answer by Nitin Jadhav for Prettier doesn't work for changing double quote to...

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...

View Article

Prettier doesn't work for changing double quote to single quote in visual code

I work with EsLint and Prettier in visual code. Everything work well without singlequote and doublequote.This is my .eslintrc file:{"parser": "babel-eslint","plugins": ["prettier"],"rules":...

View Article
Browsing latest articles
Browse All 4 View Live




Latest Images