𝔻𝔼𝕍𝕀𝕃𝕀𝕊ℍ@lemmy.worldBanned from community to Programmer Humor@lemmy.ml · 2 years agocodeStylelemmy.worldimagemessage-square15linkfedilinkarrow-up117arrow-down10
arrow-up117arrow-down1imagecodeStylelemmy.world𝔻𝔼𝕍𝕀𝕃𝕀𝕊ℍ@lemmy.worldBanned from community to Programmer Humor@lemmy.ml · 2 years agomessage-square15linkfedilink
minus-squareAustralis13@fedia.iolinkfedilinkarrow-up1·2 years agoI felt that. I have a colleague whose coding style is different to mine and whenever they work on code that I originally wrote, I have to resist the temptation to modify things to camelCase.
minus-squaremesamunefire@lemmy.worldlinkfedilinkEnglisharrow-up3·2 years agoLinters make these kind of things easier. Then you get mad at the tool rather than your coworker.
minus-squareflashgnash@lemm.eelinkfedilinkarrow-up1·2 years agoDoes Prettier count as a linter? I always thought linters were more to find bad practice and possible errors than control the code style
minus-squareAustralis13@fedia.iolinkfedilinkarrow-up2·2 years agoSome linters can do both. Getting one set up as an automated job whenever code is pushed to the repo is on my TODO list…
I felt that. I have a colleague whose coding style is different to mine and whenever they work on code that I originally wrote, I have to resist the temptation to modify things to camelCase.
Linters make these kind of things easier. Then you get mad at the tool rather than your coworker.
Does Prettier count as a linter?
I always thought linters were more to find bad practice and possible errors than control the code style
Some linters can do both. Getting one set up as an automated job whenever code is pushed to the repo is on my TODO list…