VScode tips on enforcing coding style

grmkris

Kristjan Grm

Posted on February 12, 2020

VScode tips on enforcing coding style

Hello everyone, I hope you are having a good day.

I am looking for some tips how can I enforce "same" coding style among a team of programmers.

I think we should define stuff like:

  • line width
  • naming of variables to follow the rules I define (cammelCase)
  • spaces instead of tabs
  • etc...

I am not sure how granular should I be in defining the rules? Should I define relaxed rules where everyone can still do stuff like they want? Or should I be strict and opionated.

We program mainly in Java but it would be cool if I could define rules for different languages (mainly Javascript(Angular - typescript and Java).

In ideal world there would be a plugin that would check the codebase based on there rules:

I am really greateful for any tips / help I receive

💖 💪 🙅 🚩
grmkris
Kristjan Grm

Posted on February 12, 2020

Join Our Newsletter. No Spam, Only the good stuff.

Sign up to receive the latest update from our blog.

Related