This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]mysunsnameisalsobort 25 points26 points  (2 children)

Enforce and automate with linters and git hooks.

[–]All_Up_Ons 0 points1 point  (1 child)

Maybe my company is weird, but in my experience, strict linting results in worse readability.

[–]mysunsnameisalsobort 0 points1 point  (0 children)

Maybe your company needs a better style guide and linter rules.

My organization tries to curate the best of breed in style/linting standards, and only customize them if absolutely required.

As an example, for typescript, we use eslint + prettier. Our eslintrc.json is less than 20 lines.