Add typos command for linting and tidying and fix issues it found

This commit is contained in:
Dave Rolsky
2024-05-18 12:11:04 +08:00
parent 9b467e6799
commit 2297f8e434
3 changed files with 13 additions and 2 deletions

View File

@@ -1,7 +1,18 @@
exclude = [
"target",
"tests/lib/**/*",
]
[commands.typos]
type = "both"
include = "**/*"
exclude = "**/*.tar.gz"
invoke = "once"
cmd = "typos"
tidy_flags = "--write-changes"
ok-exit-codes = 0
lint-failure-exit-codes = 2
[commands.perltidy]
type = "both"
include = [ "**/*.{pl,pm,t,psgi}" ]