| 1 |
exclude = [ |
| 2 |
".build/**/*", |
| 3 |
"Dist-Zilla-PluginBundle-DROLSKY-*/**/*", |
| 4 |
"blib/**/*", |
| 5 |
"lib/DateTime/TimeZone/Catalog.pm", |
| 6 |
"lib/DateTime/TimeZone/{Africa,America,Antarctica,Asia,Atlantic,Australia,Europe,Indian,Pacific}/**/*", |
| 7 |
"lib/DateTime/TimeZone/{CET,CST6CDT,EET,EST5EDT,EST,HST,MET,MST7MDT,MST,PST8PDT,WET}.pm", |
| 8 |
"META.yml", |
| 9 |
"MYMETA.yml", |
| 10 |
"t/00-*", |
| 11 |
"t/author-*", |
| 12 |
"t/release-*", |
| 13 |
"t/zd_*", |
| 14 |
"t/zzz-*", |
| 15 |
"xt/**/*", |
| 16 |
] |
| 17 |
|
| 18 |
[commands.omegasort-gitignore] |
| 19 |
type = "both" |
| 20 |
include = "**/.gitignore" |
| 21 |
cmd = ["omegasort", "--sort=path", "--unique"] |
| 22 |
lint_flags = "--check" |
| 23 |
tidy_flags = "--in-place" |
| 24 |
ok_exit_codes = 0 |
| 25 |
lint_failure_exit_codes = 1 |
| 26 |
|
| 27 |
[commands.omegasort-stopwords] |
| 28 |
type = "both" |
| 29 |
include = ".stopwords" |
| 30 |
cmd = ["omegasort", "--sort=text", "--case-insensitive", "--unique"] |
| 31 |
lint_flags = "--check" |
| 32 |
tidy_flags = "--in-place" |
| 33 |
ok_exit_codes = 0 |
| 34 |
lint_failure_exit_codes = 1 |
| 35 |
|
| 36 |
[commands.perlcritic] |
| 37 |
type = "lint" |
| 38 |
include = ["**/*.{pl,pm,t,psgi}"] |
| 39 |
cmd = ["perlcritic", "--profile=$PRECIOUS_ROOT/perlcriticrc"] |
| 40 |
ok_exit_codes = 0 |
| 41 |
lint_failure_exit_codes = 2 |
| 42 |
|
| 43 |
[commands.perltidy] |
| 44 |
type = "both" |
| 45 |
include = ["**/*.{pl,pm,t,psgi}"] |
| 46 |
cmd = ["perltidy", "--profile=$PRECIOUS_ROOT/perltidyrc"] |
| 47 |
lint_flags = ["--assert-tidy", "--no-standard-output", "--outfile=/dev/null"] |
| 48 |
tidy_flags = ["--backup-and-modify-in-place", "--backup-file-extension=/"] |
| 49 |
ok_exit_codes = 0 |
| 50 |
lint_failure_exit_codes = 2 |
| 51 |
ignore_stderr = "Begin Error Output Stream" |
| 52 |
|
| 53 |
[commands.podchecker] |
| 54 |
type = "lint" |
| 55 |
include = ["**/*.{pl,pm,pod}"] |
| 56 |
cmd = ["podchecker", "--warnings", "--warnings"] |
| 57 |
ok_exit_codes = [0, 2] |
| 58 |
lint_failure_exit_codes = 1 |
| 59 |
ignore_stderr = [".+ pod syntax OK", ".+ does not contain any pod commands"] |
| 60 |
|
| 61 |
[commands.podtidy] |
| 62 |
type = "tidy" |
| 63 |
include = ["**/*.{pl,pm,pod}"] |
| 64 |
cmd = ["podtidy", "--columns", "80", "--inplace", "--nobackup"] |
| 65 |
ok_exit_codes = 0 |
| 66 |
lint_failure_exit_codes = 1 |
| 67 |
|
| 68 |
[commands.prettier] |
| 69 |
type = "both" |
| 70 |
include = ["**/*.yml"] |
| 71 |
cmd = ["prettier", "--no-config", "--prose-wrap", "always", "--print-width", "100"] |
| 72 |
lint_flags = "--check" |
| 73 |
tidy_flags = "--write" |
| 74 |
ok_exit_codes = 0 |
| 75 |
lint_failure_exit_codes = 1 |
| 76 |
ignore_stderr = "Code style issues" |
| 77 |
|
| 78 |
[commands.taplo] |
| 79 |
type = "both" |
| 80 |
include = "**/*.toml" |
| 81 |
cmd = ["taplo", "format", "--option", "indent_string= ", "--option", "column_width=100"] |
| 82 |
lint_flags = "--check" |
| 83 |
ok_exit_codes = 0 |
| 84 |
lint_failure_exit_codes = 1 |
| 85 |
ignore_stderr = "INFO taplo.+" |