kristjanmik / kjosturett-web

One stop for Parliament elections in Iceland - http://kjosturett.is
http://kjosturett.is
Other
24 stars 16 forks source link

running prettier on the src folder #69

Closed axelg12 closed 1 month ago

axelg12 commented 1 month ago

The this PR https://github.com/kristjanmik/kjosturett-web/pull/67 @koddsson mentioned that it would be smart to run prettier in a seperate PR. Prettier is already setup in the project (see package.json) and configured so we only had to run it. I had to make one change in .eslintrc to make sure that the config there matched the prettier config already setup in package.json (setting trailingComma to es5)

I ran npx prettier --write src//**/*