11exclude = [
2- " .build/**/*" ,
3- " FileLibMagic-*/**/*" ,
4- " blib/**/*" ,
2+ " .build/**" ,
3+ " File-LibMagic-*" ,
4+ " META.yml" ,
5+ " MYMETA.yml" ,
6+ " blib/**" ,
57 " t/00-*" ,
68 " t/author-*" ,
79 " t/release-*" ,
@@ -12,51 +14,68 @@ exclude = [
1214[commands .omegasort-gitignore ]
1315type = " both"
1416include = " **/.gitignore"
15- cmd = [ " omegasort" , " --sort= path" ]
17+ cmd = [" omegasort" , " --sort" , " path" , " --unique " ]
1618lint_flags = " --check"
1719tidy_flags = " --in-place"
1820ok_exit_codes = 0
1921lint_failure_exit_codes = 1
20- expect_stderr = true
2122
2223[commands .omegasort-stopwords ]
2324type = " both"
2425include = " .stopwords"
25- cmd = [ " omegasort" , " --sort= text" , " --case-insensitive" ]
26+ cmd = [" omegasort" , " --sort" , " text" , " --case-insensitive" , " --unique " ]
2627lint_flags = " --check"
2728tidy_flags = " --in-place"
2829ok_exit_codes = 0
2930lint_failure_exit_codes = 1
30- expect_stderr = true
3131
3232[commands .perlcritic ]
3333type = " lint"
34- include = [ " **/*.{pl,pm,t,psgi}" ]
35- cmd = [ " perlcritic" , " --profile=$PRECIOUS_ROOT/perlcriticrc" ]
34+ include = [" **/*.{pl,pm,t,psgi}" ]
35+ cmd = [" perlcritic" , " --profile=$PRECIOUS_ROOT/perlcriticrc" ]
3636ok_exit_codes = 0
3737lint_failure_exit_codes = 2
3838
3939[commands .perltidy ]
4040type = " both"
41- include = [ " **/*.{pl,pm,t,psgi}" ]
42- cmd = [ " perltidy" , " --profile=$PRECIOUS_ROOT/perltidyrc" ]
43- lint_flags = [ " --assert-tidy" , " --no-standard-output" , " --outfile=/dev/null" ]
44- tidy_flags = [ " --backup-and-modify-in-place" , " --backup-file-extension=/" ]
41+ include = [" **/*.{pl,pm,t,psgi}" ]
42+ cmd = [" perltidy" , " --profile=$PRECIOUS_ROOT/perltidyrc" ]
43+ lint_flags = [" --assert-tidy" , " --no-standard-output" , " --outfile=/dev/null" ]
44+ tidy_flags = [" --backup-and-modify-in-place" , " --backup-file-extension=/" ]
4545ok_exit_codes = 0
4646lint_failure_exit_codes = 2
47- expect_stderr = true
47+ ignore_stderr = " Begin Error Output Stream "
4848
4949[commands .podchecker ]
5050type = " lint"
51- include = [ " **/*.{pl,pm,pod}" ]
52- cmd = [ " podchecker" , " --warnings" , " --warnings" ]
53- ok_exit_codes = [ 0 , 2 ]
51+ include = [" **/*.{pl,pm,pod}" ]
52+ cmd = [" podchecker" , " --warnings" , " --warnings" ]
53+ ok_exit_codes = [0 , 2 ]
5454lint_failure_exit_codes = 1
55- expect_stderr = true
55+ ignore_stderr = [ " .+ pod syntax OK " , " .+ does not contain any pod commands " ]
5656
5757[commands .podtidy ]
5858type = " tidy"
59- include = [ " **/*.{pl,pm,pod}" ]
60- cmd = [ " podtidy" , " --columns" , " 80" , " --inplace" , " --nobackup" ]
59+ include = [" **/*.{pl,pm,pod}" ]
60+ cmd = [" podtidy" , " --columns" , " 80" , " --inplace" , " --nobackup" ]
6161ok_exit_codes = 0
6262lint_failure_exit_codes = 1
63+
64+ [commands .prettier ]
65+ type = " both"
66+ include = [" **/*.yml" ]
67+ cmd = [" prettier" , " --no-config" , " --prose-wrap" , " always" , " --print-width" , " 100" ]
68+ lint_flags = " --check"
69+ tidy_flags = " --write"
70+ ok_exit_codes = 0
71+ lint_failure_exit_codes = 1
72+ ignore_stderr = " Code style issues"
73+
74+ [commands .taplo ]
75+ type = " both"
76+ include = " **/*.toml"
77+ cmd = [" taplo" , " format" , " --option" , " indent_string= " , " --option" , " column_width=100" ]
78+ lint_flags = " --check"
79+ ok_exit_codes = 0
80+ lint_failure_exit_codes = 1
81+ ignore_stderr = " INFO taplo.+"
0 commit comments