ft-interactive / starter-kit

A template for IG pages
65 stars 15 forks source link

Removes eslint-plugin-prettier, creates VSCode workspace config for unified settings #280

Closed aendra-rininsland closed 3 years ago

aendra-rininsland commented 3 years ago

This will make it so that we use Prettier the same way everywhere, in line with Prettier's guidance. Notes:

  1. Eslint doesn't run Prettier anymore. Use your IDE's Prettier plugin instead now.
  2. This will make Prettier-VSCode your default formatter. Please make sure you have Prettier-VSCode installed. The upside is it also formats HTML and other non-JS file types.
  3. If you use Peacock, it will change the .vscode/settings.json file when you open VSCode. Please don't commit these changes when working on Starter Kit, though it's okay when working on spawned projects.