I recently started working on an old webapp. VSC's Prettier plugin keeps replacing quotes by double quotes, and eslint keeps complaining that I should use single quotes.
Here's what I used to fix it:
- I created a .prettierrc config file to make it Prettier use single quotes.
- I modified the .eslintrc config file to make eslint use Prettier rules.