I'm thinking about a module/script to unify a bunch of code tidiers and 
validators in a single place. With a single command, e.g.

   % tidyall

you could apply the appropriate tidiers and validators to files in your project 
(e.g. your git directory hierarchy). It would tidy each file as needed and 
throw an error result if any of the validations failed. 

Features:
* Only tidy files that haven't changed since the last time (using 
File::Modified and a file cache)
* A single config file with options for all the tidiers and validators, as well 
as which files to apply them to
* Easy to add new validators/tidiers as plugins

This would be a command that the anal-retentive among us could run on our 
projects before each commit.

Tidiers and vaildators for Perl include Perl::Tidy, Pod::Tidy, and 
Perl::Critic. There are also various tidiers and validators for HTML, css and 
javascript out there.

Comments and suggestions for names welcome. Devel::MultiTidy?

Thanks
Jon

Reply via email to