vrek to ProgrammingEnglish · 11 months agoDoes C# (or any other languages) have an official style guide like python has pep8?message-squaremessage-square47fedilinkarrow-up186arrow-down12
arrow-up184arrow-down1message-squareDoes C# (or any other languages) have an official style guide like python has pep8?vrek to ProgrammingEnglish · 11 months agomessage-square47fedilink
minus-square𝕯𝖎𝖕𝖘𝖍𝖎𝖙@lemmy.worldlinkfedilinkarrow-up7arrow-down1·11 months agolots of languages have linters to enforce style. Examples are jslint/eslint phplint, etc…
minus-square𝕯𝖎𝖕𝖘𝖍𝖎𝖙@lemmy.worldlinkfedilinkarrow-up1arrow-down2·11 months agoESLint will hurt your feelings. Anyway, I didn’t setup the tooling, and it can be configured to enforce code styles, as it does with each commit. It also enforces rules, but can enforce code style as well.
lots of languages have linters to enforce style. Examples are jslint/eslint phplint, etc…
ESLint is not a formatter
ESLint will hurt your feelings.
Anyway, I didn’t setup the tooling, and it can be configured to enforce code styles, as it does with each commit. It also enforces rules, but can enforce code style as well.