The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

Changes for version 0.33 - 2015-11-30 (TRIAL RELEASE)

  • Adding diff functionality as its own plugin (DiffOnTidyError), which was done in 0.31, turned out to be quite problematic. As a plugin you had to define which files it applied to via select & exclude, and in a large code base it was easy to select files that no other plugin applied to. This meant tidyall (and Test::Code::Tidyall, etc.) would include those files even though they were never touched. This could make tidying and tidy tests _much_ slower.
    • This plugin has been replaced with a new config attribute that can be applied to all plugins, diff_on_tidy_error. When this is set, any plugin that tidies source in --check-only mode (also used by Test::Code::Tidyall) will include a diff in the error message, one diff per plugin. This has the added benefit of showing if you if multiple plugins are each making changes to the same file.

Documentation

Your all-in-one code tidier and validator

Modules

Engine for tidyall, your all-in-one code tidier and validator
Caching model for Code::TidyAll
Shared cache model for Code::TidyAll
Git pre-commit hook that requires files to be tidyall'd
Git pre-receive hook that requires files to be tidyall'd
Create plugins for tidying or validating code
Use js-beautify with tidyall
Use jshint with tidyall
Use jslint with tidyall
Use the JSON::MaybeXS module to tidy JSON documents with tidyall
Use masontidy with tidyall
Use phpcs with tidyall
Use perlcritic with tidyall
Use perltidy with tidyall
Use perltidy-sweet with tidyall
Use podchecker with tidyall
Use Pod::Spell + ispell with tidyall
Use podtidy with tidyall
Sort the lines in a file
Result returned from processing a file/source
Provides a _tempdir attribute for Code::TidyAll classes
Subversion pre-commit hook that requires files to be tidyall'd
Check that all your files are tidy and valid according to tidyall

Provides

in lib/Code/TidyAll/Cache.pm
in lib/Code/TidyAll/Config/INI/Reader.pm
in lib/Code/TidyAll/Git/Util.pm
in lib/Code/TidyAll/Plugin/CSSUnminifier.pm
in lib/Code/TidyAll/SVN/Util.pm
in lib/Code/TidyAll/Util/Zglob.pm