mirror of
https://github.com/super-linter/super-linter.git
synced 2024-11-22 06:01:05 -05:00
fix(go): use --fast
golangci-lint option (#3043)
All tests can't be run agaist single files. golangci-lint have a dedicated list of linter adapted to single file usage. https://github.com/golangci/golangci-lint/issues/1574 Signed-off-by: Guilhem Lettron <guilhem@barpilot.io>
This commit is contained in:
parent
7c7c4e9dea
commit
34cfb29962
1 changed files with 1 additions and 1 deletions
|
@ -900,7 +900,7 @@ LINTER_COMMANDS_ARRAY['ENV']="dotenv-linter"
|
|||
LINTER_COMMANDS_ARRAY['GITHUB_ACTIONS']="actionlint -config-file ${GITHUB_ACTIONS_LINTER_RULES}"
|
||||
LINTER_COMMANDS_ARRAY['GITLEAKS']="gitleaks detect --no-git -c ${GITLEAKS_LINTER_RULES} -v -s"
|
||||
LINTER_COMMANDS_ARRAY['GHERKIN']="gherkin-lint -c ${GHERKIN_LINTER_RULES}"
|
||||
LINTER_COMMANDS_ARRAY['GO']="golangci-lint run -c ${GO_LINTER_RULES}"
|
||||
LINTER_COMMANDS_ARRAY['GO']="golangci-lint run --fast -c ${GO_LINTER_RULES}"
|
||||
LINTER_COMMANDS_ARRAY['GOOGLE_JAVA_FORMAT']="java -jar /usr/bin/google-java-format"
|
||||
LINTER_COMMANDS_ARRAY['GROOVY']="npm-groovy-lint -c ${GROOVY_LINTER_RULES} --failon warning --no-insight"
|
||||
LINTER_COMMANDS_ARRAY['HTML']="htmlhint --config ${HTML_LINTER_RULES}"
|
||||
|
|
Loading…
Reference in a new issue