GEWIS / sudosos-frontend

This monorepo contains all frontend projects and shared code for the SudoSOS platform, built with Vue 3 and TypeScript. Contributions are welcome!
https://sudosos.gewis.nl
5 stars 4 forks source link

[Refactor] Prettier fix and enforce eslint/prettier #218

Open SuperVK opened 5 months ago

SuperVK commented 5 months ago

We should run a prettier such that code style is consistent, furthermore ideally prettier and eslint are first tried seperately in the ci/cd, and if they fail do not attempt other CI/CD checks, to prevent unnecessary usage.

SuperVK commented 2 months ago

Talked about this a bit with Samuel, best approach would be to use eslint in a central config, then use either prettier or eslint.style for prettying. Then we can use husky to execute prettier on each commit, and eslint as a first enforce to catch common code smells.