News for hackers. Stuff that matters.
Re:GitHub Super Linter: one linter to rule them all by dtech on Thursday June 18, 2020 @03:47PM (#23567070)
Usually when introducing such a tool you do 1 commit that reformat the whole codebase to the new style and then automatically enforce it.
Re:GitHub Super Linter: one linter to rule them all by erichurkman on Thursday June 18, 2020 @06:33PM (#23568891)
And in those large reformat commits, add a file like `.git-ignore-revs-file` that is checked in, so you can configure git to ignore that revision and pretend it never existed:

    [blame]
      ignoreRevsFile = ".git-ignore-revs-file"
      markIgnoredLines
      markUnblamableLines
Re:GitHub Super Linter: one linter to rule them all by dtech on Friday June 19, 2020 @05:02AM (#23572599)
That's an incredibly useful trick to know