Name : perl-Perl-Critic-Policy-CodeLayout-TabIndentSpaceAlign
| |
Version : 1.1.0
| Vendor : obs://build_opensuse_org/devel:languages:perl
|
Release : 1.61
| Date : 2024-08-05 20:24:51
|
Group : Development/Libraries/Perl
| Source RPM : perl-Perl-Critic-Policy-CodeLayout-TabIndentSpaceAlign-1.1.0-1.61.src.rpm
|
Size : 0.03 MB
| |
Packager : (none)
| |
Summary : Use tabs for indenting, spaces for aligning
|
Description :
Hard tabs are a perfectly fine way to indent code for accessibility and usability purposes, allowing different users to tweak indentation settings to suit their needs and habits. However, hard tabs should not be used for formatting / aligning, as this makes the display dependent on the tab-to-space ratio of the user.
\'Perl/Critic/Policy/CodeLayout/ProhibitHardTabs\' has a setting that allows leading tabs, but this not not fully represent the paradigm where tabs are reserved for indenting and spaces for formatting/aligning. In particular, it does not prevent indenting with spaces, while this module detects and prevents it.
This Policy examines your source code, including POD, quotes, and HEREDOCs. The contents of the \'__DATA__\' section are not examined.
|
RPM found in directory: /packages/linux-pbone/ftp5.gwdg.de/pub/opensuse/repositories/devel:/languages:/perl:/CPAN-P/openSUSE_Tumbleweed/noarch |