vrek@programming.dev to Programming@programming.devEnglish · 10 months agoDoes C# (or any other languages) have an official style guide like python has pep8?message-squaremessage-square46fedilinkarrow-up182arrow-down12
arrow-up180arrow-down1message-squareDoes C# (or any other languages) have an official style guide like python has pep8?vrek@programming.dev to Programming@programming.devEnglish · 10 months agomessage-square46fedilink
minus-square𝕯𝖎𝖕𝖘𝖍𝖎𝖙@lemmy.worldlinkfedilinkarrow-up7arrow-down1·10 months agolots of languages have linters to enforce style. Examples are jslint/eslint phplint, etc…
minus-square𝕯𝖎𝖕𝖘𝖍𝖎𝖙@lemmy.worldlinkfedilinkarrow-up1arrow-down2·10 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.