summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorCraig Rodrigues <craig@quiknode.io>2023-07-24 05:33:15 -0700
committerGitHub <noreply@github.com>2023-07-24 21:33:15 +0900
commit3d107703873a67e6645b5c7ed0ccb273ac0596b2 (patch)
treeb2ca44e647d48055d177373f1ea64799a85bdd88 /doc
parentf34016a55273c180c49a75aafd1e277c0f783d3b (diff)
downloadale-3d107703873a67e6645b5c7ed0ccb273ac0596b2.zip
Remove gometalinter support (#4534)
gometalinter has been deprecated, and was archived in 2019
Diffstat (limited to 'doc')
-rw-r--r--doc/ale-go.txt53
-rw-r--r--doc/ale-supported-languages-and-tools.txt1
-rw-r--r--doc/ale.txt1
3 files changed, 5 insertions, 50 deletions
diff --git a/doc/ale-go.txt b/doc/ale-go.txt
index d09f6cac..ea6311a8 100644
--- a/doc/ale-go.txt
+++ b/doc/ale-go.txt
@@ -5,20 +5,15 @@ ALE Go Integration *ale-go-options*
===============================================================================
Integration Information
-The `gometalinter` linter is disabled by default. ALE enables `gofmt`,
-`gopls`, and `go vet` by default. It also supports `staticcheck, `go
-build`, `gosimple`, `golangserver`, and `golangci-lint`.
+ALE enables `gofmt`, `gopls` and `go vet` by default. It also supports `staticcheck`,
+`go build, ``gosimple`, `golangserver`, and `golangci-lint.
-To enable `gometalinter`, update |g:ale_linters| as appropriate:
+To enable `golangci-lint`, update |g:ale_linters| as appropriate.
+A possible configuration is to enable golangci-lint and `gofmt:
>
" Enable all of the linters you want for Go.
- let g:ale_linters = {'go': ['gometalinter', 'gofmt']}
+ let g:ale_linters = {'go': ['golangci-lint', 'gofmt']}
<
-A possible configuration is to enable `gometalinter` and `gofmt` but paired
-with the `--fast` option, set by |g:ale_go_gometalinter_options|. This gets you
-the benefit of running a number of linters, more than ALE would by default,
-while ensuring it doesn't run any linters known to be slow or resource
-intensive.
g:ale_go_go_executable *g:ale_go_go_executable*
*b:ale_go_go_executable*
@@ -176,44 +171,6 @@ g:ale_go_golines_options *g:ale_go_golines_options*
===============================================================================
-gometalinter *ale-go-gometalinter*
-
-`gometalinter` is a `lint_file` linter, which only lints files that are
-written to disk. This differs from the default behavior of linting the buffer.
-See: |ale-lint-file|
-
-g:ale_go_gometalinter_executable *g:ale_go_gometalinter_executable*
- *b:ale_go_gometalinter_executable*
- Type: |String|
- Default: `'gometalinter'`
-
- The executable that will be run for gometalinter.
-
-
-g:ale_go_gometalinter_options *g:ale_go_gometalinter_options*
- *b:ale_go_gometalinter_options*
- Type: |String|
- Default: `''`
-
- This variable can be changed to alter the command-line arguments to the
- gometalinter invocation.
-
- Since `gometalinter` runs a number of linters that can consume a lot of
- resources it's recommended to set this option to a value of `--fast` if you
- use `gometalinter` as one of the linters in |g:ale_linters|. This disables a
- number of linters known to be slow or consume a lot of resources.
-
-
-g:ale_go_gometalinter_lint_package *g:ale_go_gometalinter_lint_package*
- *b:ale_go_gometalinter_lint_package*
- Type: |Number|
- Default: `0`
-
- When set to `1`, the whole Go package will be checked instead of only the
- current file.
-
-
-===============================================================================
gopls *ale-go-gopls*
gopls is the official Go language server, and is enabled for use with ALE by
diff --git a/doc/ale-supported-languages-and-tools.txt b/doc/ale-supported-languages-and-tools.txt
index b6ea5035..2fd84eae 100644
--- a/doc/ale-supported-languages-and-tools.txt
+++ b/doc/ale-supported-languages-and-tools.txt
@@ -213,7 +213,6 @@ Notes:
* `golangci-lint`!!
* `golangserver`
* `golines`
- * `gometalinter`!!
* `gopls`
* `gosimple`!!
* `gotype`!!
diff --git a/doc/ale.txt b/doc/ale.txt
index 467b0c1a..497dde03 100644
--- a/doc/ale.txt
+++ b/doc/ale.txt
@@ -2987,7 +2987,6 @@ documented in additional help files.
golangci-lint.........................|ale-go-golangci-lint|
golangserver..........................|ale-go-golangserver|
golines...............................|ale-go-golines|
- gometalinter..........................|ale-go-gometalinter|
gopls.................................|ale-go-gopls|
govet.................................|ale-go-govet|
revive................................|ale-go-revive|