perl-Perl-Critic-Policy-CodeLayout-TabIndentSpaceAlign-1.1.0-alt1.noarch.rpm


Advertisement

Description

perl-Perl-Critic-Policy-CodeLayout-TabIndentSpaceAlign - Use tabs for indenting, spaces for aligning

Property Value
Distribution ALT Linux Sisyphus
Repository Autoimports noarch
Package name perl-Perl-Critic-Policy-CodeLayout-TabIndentSpaceAlign
Package version 1.1.0
Package release alt1
Package architecture noarch
Package type rpm
Installed size 28.84 KB
Download size 28.84 KB
Official Mirror ftp.altlinux.org
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.

Alternatives

Package Version Architecture Repository
perl-Perl-Critic-Policy-CodeLayout-TabIndentSpaceAlign - - -

Requires

Name Value
/usr/share/perl5 -
perl(Perl/Critic/Policy.pm) -
perl(Perl/Critic/Utils.pm) -
perl(Readonly.pm) -
perl(Try/Tiny.pm) -
perl(base.pm) -
rpmlib(PayloadIsLzma) -

Provides

Name Value
perl(Perl/Critic/Policy/CodeLayout/TabIndentSpaceAlign.pm) = 1.001
perl-Perl-Critic-Policy-CodeLayout-TabIndentSpaceAlign = 1.1.0-alt1

Download

Type URL
Binary Package perl-Perl-Critic-Policy-CodeLayout-TabIndentSpaceAlign-1.1.0-alt1.noarch.rpm
Source Package perl-Perl-Critic-Policy-CodeLayout-TabIndentSpaceAlign-1.1.0-alt1.src.rpm

Install Howto

  1. Add the following line to /etc/apt/sources.list:
    
    rpm [Sisyphus] http://ftp.altlinux.org/pub/distributions/ALTLinux/autoimports/Sisyphus noarch autoimports
    rpm [Sisyphus] http://ftp.altlinux.org/pub/distributions/ALTLinux/autoimports/Sisyphus noarch autoimports
    
  2. Update the package index:
    # sudo apt-get update
  3. Install perl-Perl-Critic-Policy-CodeLayout-TabIndentSpaceAlign rpm package:
    # sudo apt-get install perl-Perl-Critic-Policy-CodeLayout-TabIndentSpaceAlign

Files

Path
/usr/share/doc/perl-Perl-Critic-Policy-CodeLayout-TabIndentSpaceAlign-1.1.0/Changes
/usr/share/doc/perl-Perl-Critic-Policy-CodeLayout-TabIndentSpaceAlign-1.1.0/LICENSE
/usr/share/doc/perl-Perl-Critic-Policy-CodeLayout-TabIndentSpaceAlign-1.1.0/README.md
/usr/share/doc/perl-Perl-Critic-Policy-CodeLayout-TabIndentSpaceAlign-1.1.0/ignore.txt
/usr/share/doc/perl-Perl-Critic-Policy-CodeLayout-TabIndentSpaceAlign-1.1.0/examples/examples.txt
/usr/share/perl5/Perl/
/usr/share/perl5/Perl/Critic/
/usr/share/perl5/Perl/Critic/Policy/
/usr/share/perl5/Perl/Critic/Policy/CodeLayout/TabIndentSpaceAlign.pm

See Also

Package Description
perl-Perl-Critic-Policy-CompileTime-0.03-alt1.noarch.rpm Find code that runs in compile-time blocks
perl-Perl-Critic-Policy-Documentation-RequirePod-0.005-alt1.noarch.rpm file requires POD
perl-Perl-Critic-Policy-Dynamic-NoIndirect-0.06-alt1.noarch.rpm Perl::Critic policy against indirect method calls
perl-Perl-Critic-Policy-HTTPCookies-0.53-alt1.noarch.rpm Avoid using HTTP::Cookies
perl-Perl-Critic-Policy-Moo-ProhibitMakeImmutable-0.03-alt1.noarch.rpm Makes sure that Moo classes do not contain calls to make_immutable
perl-Perl-Critic-Policy-Perlsecret-0.0.11-alt1.noarch.rpm Prevent Perlsecret operators and constants making it into your code
perl-Perl-Critic-Policy-ProhibitSmartmatch-0.4-alt1.noarch.rpm Perl::Critic policies which help to avoid both
perl-Perl-Critic-Policy-References-ProhibitComplexDoubleSigils-0.2-alt1.noarch.rpm allow C<$$foo>
perl-Perl-Critic-Policy-TryTiny-RequireBlockTermination-0.01-alt1.noarch.rpm Requires that try/catch/finally blocks are properly terminated
perl-Perl-Critic-Policy-TryTiny-RequireUse-0.03-alt1.noarch.rpm Requires that code which utilizes Try::Tiny actually use()es it
perl-Perl-Critic-Policy-ValuesAndExpressions-PreventSQLInjection-1.4.0-alt1.noarch.rpm Prevent SQL injection in interpolated strings
perl-Perl-Critic-Policy-ValuesAndExpressions-ProhibitSingleArgArraySlice-0.004-alt1.noarch.rpm Prohibit using an array slice with only one index
perl-Perl-Critic-Policy-Variables-ProhibitLoopOnHash-0.006-alt1.noarch.rpm Don't write loops on hashes, only on keys and values of hashes
perl-Perl-Critic-Policy-Variables-ProhibitUnusedVarsStricter-0.102-alt1.noarch.rpm Critique unused variables in Perl source
perl-Perl-Critic-Policy-Variables-RequireHungarianNotation-0.0.7-alt1.noarch.rpm Critic policy for hungarian notation
Advertisement
Advertisement