SchizzY / next-month-web

https://next-month-web.vercel.app
2 stars 0 forks source link

Setup GitHub Actions workflows for linting & formatting #7

Open christoff-linde opened 7 months ago

christoff-linde commented 7 months ago

Description

To ensure consistent formatting and try and keep consistent code quality, linting and formatting should be setup as pre-commit.

We could probably stick with the "standard" tools, namely:

However, BiomeJS does looks intriguing, so maybe we can give it a shot. BiomeJS does not support Svelte yet, so sadge.

Task List

SchizzY commented 3 months ago

@christoff-linde if you'd like you can relook at this now.

christoff-linde commented 3 months ago

@christoff-linde if you'd like you can relook at this now.

I'm wondering if this should just be local stuff actually. Using precommit

SchizzY commented 3 months ago

We could implement husky and call it a day running prettier and such?

christoff-linde commented 3 months ago

We could implement husky and call it a day running prettier and such?

Yeah will maybe just do that. I have some configs backup up somewhere that we can use. Will make a PR