test: Rename var
Copy pasted from old script.
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user