summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorVeselin Ivanov <v3s1ez@gmail.com>2023-04-02 11:09:58 +0200
committerGitHub <noreply@github.com>2023-04-02 18:09:58 +0900
commitb0ba31f88e09c033630ac15ae07143af7f658072 (patch)
treeff0b7aff7653926da12e32ffbeb34adb4d0fbfdd /test
parent41e12fd64048c6f9c1f9b9567b22bdc3dad459d3 (diff)
downloadale-b0ba31f88e09c033630ac15ae07143af7f658072.zip
remove `--enable-all` from golangci-lint options (#4488)
* remove --enable-all from default golangci-lint options * update golangci-lint options documentation * update tests to use empty golangci-lint options
Diffstat (limited to 'test')
-rw-r--r--test/linter/test_golangci_lint.vader8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/linter/test_golangci_lint.vader b/test/linter/test_golangci_lint.vader
index ee754bba..c4dfb79b 100644
--- a/test/linter/test_golangci_lint.vader
+++ b/test/linter/test_golangci_lint.vader
@@ -16,7 +16,7 @@ Execute(The golangci-lint defaults should be correct):
AssertLinter 'golangci-lint',
\ ale#Escape('golangci-lint')
\ . ' run ' . ale#Escape(expand('%' . ':t'))
- \ . ' --enable-all'
+ \ . ' '
Execute(The golangci-lint callback should use a configured executable):
let b:ale_go_golangci_lint_executable = 'something else'
@@ -24,7 +24,7 @@ Execute(The golangci-lint callback should use a configured executable):
AssertLinter 'something else',
\ ale#Escape('something else')
\ . ' run ' . ale#Escape(expand('%' . ':t'))
- \ . ' --enable-all'
+ \ . ' '
Execute(The golangci-lint callback should use configured options):
let b:ale_go_golangci_lint_options = '--foobar'
@@ -41,10 +41,10 @@ Execute(The golangci-lint callback should support environment variables):
\ ale#Env('GO111MODULE', 'on')
\ . ale#Escape('golangci-lint')
\ . ' run ' . ale#Escape(expand('%' . ':t'))
- \ . ' --enable-all'
+ \ . ' '
Execute(The golangci-lint `lint_package` option should use the correct command):
let b:ale_go_golangci_lint_package = 1
AssertLinter 'golangci-lint',
- \ ale#Escape('golangci-lint') . ' run --enable-all'
+ \ ale#Escape('golangci-lint') . ' run '