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": {
"prettier/prettier": [
"error",
{
"singleQuote": true
}
]
}
}
When I use ctr+ shift+P and type "format Document". the double quote didn't change to single quote. If I use autofix, it changes but when I save it, the single quote turn into double quote.
How can I fix that problem.