this post was submitted on 05 Sep 2023
167 points (79.7% liked)

Programming

17484 readers
95 users here now

Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!

Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.

Hope you enjoy the instance!

Rules

Rules

  • Follow the programming.dev instance rules
  • Keep content related to programming in some way
  • If you're posting long videos try to add in some form of tldr for those who don't want to watch videos

Wormhole

Follow the wormhole through a path of communities !webdev@programming.dev



founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] xep@kbin.social 6 points 1 year ago (2 children)

If I could only get everyone who works on the thing I work on to use a whitespace visualizer, it would be enough. We can fight about tabs or spaces after we get rid of all the unnecessary trailing ones.

[–] Olap@lemmy.world 5 points 1 year ago (2 children)

You've a .editorconfig in your repo right? Right?

[–] JackbyDev@programming.dev 4 points 1 year ago
[–] jelloeater85@lemmy.world 2 points 1 year ago

I'm glad someone linked this. Should be further up in this thread.

[–] Kissaki@feddit.de 2 points 1 year ago

I created a tool for removing trailing whitespace across the whole project. After cleanup now it's at least only a matter of pointing it out in reviews and occasionally fixing landed sources.