News for hackers. Stuff that matters.
Re:Software development topics I've changed my mind on after... by mindcrime on Wednesday February 05, 2025 @01:08PM (#42952653)
Sure, but if there are actual rules, agreed to and accepted by the entire team (as opposed to one guy's idiosyncratic preferences) then there should be a commit-hook to run the code through a linter and reject the commit if the rules are violated.
Re:Software development topics I've changed my mind on after... by tisdadd on Thursday February 06, 2025 @12:11PM (#42964361)
Yes indeed. I'm a fan of getting the team to pick an already existing lint ruleset and then doing this. You can also set to only lint changed files if you want a gradual change over in existing codebase.