test: Rename var

Copy pasted from old script.
This commit is contained in:
James Shubin
2023-05-12 12:10:46 -04:00
parent 25a63956f3
commit ef84a5a76a

View File

@@ -19,18 +19,18 @@ function run-test()
} }
# TODO: run more linters here if we're brave... # TODO: run more linters here if we're brave...
gml='golangci-lint run --disable-all' glc='golangci-lint run --disable-all'
# enable linters here # enable linters here
gml="$gml --enable=goimports" glc="$glc --enable=goimports"
gml="$gml --enable=revive" glc="$glc --enable=revive"
gml="$gml --enable=misspell" glc="$glc --enable=misspell"
# exclude files and directories here: # exclude files and directories here:
# gml = "$gml --skip-files=EnterFileName" # glc = "$glc --skip-files=EnterFileName"
# gml = "$gml --skip-dirs=EnterDirName" # glc = "$glc --skip-dirs=EnterDirName"
golangci_lint="$gml" # final golangci_lint="$glc" # final
echo "Using: $golangci_lint" echo "Using: $golangci_lint"
# loop through directories in an attempt to scan each go package # loop through directories in an attempt to scan each go package