nationalcollegiateesports / discord-bot

MIT License
2 stars 0 forks source link

Add vscode settings for prettier #13

Closed eritbh closed 3 years ago

eritbh commented 3 years ago

Adds a .vscode/settings.json file which just sets the Prettier extension as the default formatter for this project. This doesn't set up anything too opinionated like formatting on save, but since we're all using prettier I figure recommending the extension for people opening the repo for the first time makes sense.

Alternately, if we don't want this committed, we can just .gitignore this file.

themaxdavitt commented 3 years ago

Good thinking, and personally I'd never turn down an opportunity to increase developer ergonomics if there's no downside. I think you should also include a .vscode/extensions.json file to make the extension appear at the top of the recommended list.

eritbh commented 3 years ago

Ah, that's what it's called - knew there was something like that but wasn't sure what exactly. Adding now.