Add typos command for linting and tidying and fix issues it found
This commit is contained in:
@@ -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}" ]
|
||||
|
||||
Reference in New Issue
Block a user