Perl::...espace(3pm)

πŸ’– NAME πŸ’–

okay so this is the Perl::...espace(3pm) page from User Contributed Perl Documentation, and it's here to talk about Perl::Critic::Policy::CodeLayout::ProhibitTrailingWhitespace.

  • Perl::Critic::Policy::CodeLayout::ProhibitTrailingWhitespace β€” don't use whitespace at the end of lines. periodt πŸ’…

✨ AFFILIATION ✨

This Policy is part of the core Perl::Critic distribution. she's core, bestie πŸ‘‘


πŸ¦‹ DESCRIPTION πŸ¦‹

Anything that is not readily visually detectable is a bad thing in general. fr fr, if your eyeballs can't spot it easily, that's lowkey a red flag.

And more specifically: as different people edit the same code, their editors may automatically strip out trailing whitespace, causing spurious differences between different versions of the same file (i.e. code in a source control system). the way that creates fake-looking diffs is so not slay 😭


πŸŽ€ CONFIGURATION πŸŽ€

This Policy is not configurable except for the standard options. no extra knobs, no secret menu, just the standard options and that's it 🫢


🌸 AUTHOR 🌸

Elliot Shank "<perl@galumph.com>" πŸ’Œ


Copyright (c) 2007-2023 Elliot Shank

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. The full text of this license can be found in the LICENSE file included with this module. πŸ“œβœ¨


xoxo, Perl::...espace(3pm) β€” from perl v5.42.0, dated 2024-10-23 πŸ’–

πŸ“¦ where this page comes from