this post was submitted on 05 Jun 2025
218 points (98.2% liked)

Programmer Humor

23844 readers
4117 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 2 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[โ€“] [email protected] 2 points 1 day ago (1 children)

Honestly I'll disable linting across entire files during these kinds of refactors because it's annoying having build output littered with unused imports and format warnings while I'm still working on a solution. Requires some extra diligence to re-enable and clean up before pushing though.

[โ€“] [email protected] 2 points 1 day ago

Use pre-commit with a linter config that checks all files, local dev can have a different config to disable as needed.