Perl-Critic-Policy-CodeLayout-TabIndentSpaceAlign ================================================= [![Build Status](https://travis-ci.org/guillaumeaubert/Perl-Critic-Policy-CodeLayout-TabIndentSpaceAlign.png?branch=master)](https://travis-ci.org/guillaumeaubert/Perl-Critic-Policy-CodeLayout-TabIndentSpaceAlign) [![Coverage Status](https://coveralls.io/repos/guillaumeaubert/Perl-Critic-Policy-CodeLayout-TabIndentSpaceAlign/badge.png?branch=master)](https://coveralls.io/r/guillaumeaubert/Perl-Critic-Policy-CodeLayout-TabIndentSpaceAlign?branch=master) 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. INSTALLATION ------------ To install this module, run the following commands: perl Build.PL ./Build ./Build test ./Build install SUPPORT AND DOCUMENTATION ------------------------- After installing, you can find documentation for this module with the perldoc command. perldoc Perl::Critic::Policy::CodeLayout::TabIndentSpaceAlign You can also look for information at: * [GitHub (report bugs here)] (https://github.com/guillaumeaubert/Perl-Critic-Policy-CodeLayout-TabIndentSpaceAlign) * [AnnoCPAN, Annotated CPAN documentation] (http://annocpan.org/dist/Perl-Critic-Policy-CodeLayout-TabIndentSpaceAlign) * [CPAN Ratings] (http://cpanratings.perl.org/d/Perl-Critic-Policy-CodeLayout-TabIndentSpaceAlign) * [MetaCPAN] (https://metacpan.org/release/Perl-Critic-Policy-CodeLayout-TabIndentSpaceAlign) LICENSE AND COPYRIGHT --------------------- Copyright (C) 2012-2014 Guillaume Aubert This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License version 3 as published by the Free Software Foundation. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/