rodjek/puppet-lint — pull request #184 by rodjek (2013-09-14 00:20:12+00:00)
Title: Running with --fix deletes all code for files containing invalid syntax

Related to #183 . `puppet-lint --fix` on files containing invalid puppet code will delete all code from the file. It seems like you should probably do nothing to files with invalid syntax, rather then deleting everything.