The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

Changes for version 0.25 - 2015-03-31

  • ENHANCEMENTS
    • You can now pass "verbose => 1" to tidyall_ok(). Previously this would have been overridden because we unconditionally set "quiet => 1", but now we only do this when verbose is not specified.
    • Added a new "msg_outputter" attribute to Code::TidyAll. By default, this is a sub that simply calls "printf", but you can pass something else to change how messages are printed. Test::Code::TidyAll uses this to send messages through diag().
    • If you set "verbose => 1" when calling Test::Code::TidyAll, it will now use Text::Diff::Table to show details of how a file needs to be tidied in order to pass the tidyall checks.
    • Made the PerlCritic plugin pass even if a critic module issues some warnings. As long as perlcritic says "source OK", we want to treat that as a pass, despite any warnings it may issue. Fixed by Mark Fowler.
    • Made the caching model pluggable, and added a new Code::TidyAll::CacheModel::Shared class as an alternative to the default model. This lets you share the cache directory between multiple branches in a single checkout while still detecting file changes properly. Implemented by Mark Fowler.

Documentation

Your all-in-one code tidier and validator

Modules

caching model for Cody::TidyAll
shared cache model for Code::TidyAll
use perltidy with tidyall

Provides

in lib/Code/TidyAll.pm
in lib/Code/TidyAll/Cache.pm
in lib/Code/TidyAll/Config/INI/Reader.pm
in lib/Code/TidyAll/Git/Precommit.pm
in lib/Code/TidyAll/Git/Prereceive.pm
in lib/Code/TidyAll/Git/Util.pm
in lib/Code/TidyAll/Plugin.pm
in lib/Code/TidyAll/Plugin/CSSUnminifier.pm
in lib/Code/TidyAll/Plugin/JSBeautify.pm
in lib/Code/TidyAll/Plugin/JSHint.pm
in lib/Code/TidyAll/Plugin/JSLint.pm
in lib/Code/TidyAll/Plugin/JSON.pm
in lib/Code/TidyAll/Plugin/MasonTidy.pm
in lib/Code/TidyAll/Plugin/PHPCodeSniffer.pm
in lib/Code/TidyAll/Plugin/PerlCritic.pm
in lib/Code/TidyAll/Plugin/PodChecker.pm
in lib/Code/TidyAll/Plugin/PodSpell.pm
in lib/Code/TidyAll/Plugin/PodTidy.pm
in lib/Code/TidyAll/Plugin/SortLines.pm
in lib/Code/TidyAll/Result.pm
in lib/Code/TidyAll/SVN/Precommit.pm
in lib/Code/TidyAll/SVN/Util.pm
in lib/Code/TidyAll/Util/Zglob.pm
in lib/Test/Code/TidyAll.pm