[Solved] Eslint double quotes getting error to fix as single quotes


Disable this rule in your eslint config. You should only be using one type of quotes in your code generally though just for the sake of consistency. This is what the rule would look like in your .eslintrc file:

{
    "rules": {
        "quotes": "off"
    },
}

1

solved Eslint double quotes getting error to fix as single quotes