exclude = [ "target", ] [commands.perltidy] type = "both" include = [ "**/*.{pl,pm,t,psgi}" ] exclude = "tests/lib/**" cmd = [ "perltidy", "--profile=$PRECIOUS_ROOT/perltidyrc" ] lint_flags = [ "--assert-tidy", "--no-standard-output", "--outfile=/dev/null" ] tidy_flags = [ "--backup-and-modify-in-place", "--backup-file-extension=/" ] ok_exit_codes = 0 lint_failure_exit_codes = 2 ignore_stderr = "Begin Error Output Stream" [commands.prettier-md] type = "both" include = [ "**/*.md" ] cmd = [ "./node_modules/.bin/prettier", "--no-config", "--print-width", "100", "--prose-wrap", "always" ] lint_flags = "--check" tidy_flags = "--write" ok_exit_codes = 0 lint_failure_exit_codes = 1 ignore_stderr = [ "Code style issues" ] [commands.prettier-yml] type = "both" include = [ "**/*.yml" ] cmd = [ "./node_modules/.bin/prettier", "--no-config" ] lint_flags = "--check" tidy_flags = "--write" ok_exit_codes = 0 lint_failure_exit_codes = 1 ignore_stderr = [ "Code style issues" ] [commands.omegasort-gitignore] type = "both" include = "**/.gitignore" cmd = [ "omegasort", "--sort", "path", "--unique" ] lint_flags = "--check" tidy_flags = "--in-place" ok_exit_codes = 0 lint_failure_exit_codes = 1 ignore_stderr = [ "The .+ file is not sorted", "The .+ file is not unique", ]