branch: elpa/flycheck
commit 169c7e34bce1340ef7cfafc298aefbbfae4bb304
Author: Bozhidar Batsov <[email protected]>
Commit: Bozhidar Batsov <[email protected]>
Update docs for removed Go options and new phpcs-changed option
Remove flycheck-go-build-install-deps, flycheck-go-vet-print-functions
from the languages doc. Add flycheck-phpcs-changed-git-base.
Also update Go documentation URLs.
---
doc/languages.rst | 30 ++++++------------------------
1 file changed, 6 insertions(+), 24 deletions(-)
diff --git a/doc/languages.rst b/doc/languages.rst
index 642b4b4842..58f3de6be2 100644
--- a/doc/languages.rst
+++ b/doc/languages.rst
@@ -476,30 +476,17 @@ to view the docstring of the syntax checker. Likewise,
you may use
Check Go for suspicious code with vet_.
- .. defcustom:: flycheck-go-vet-print-functions
-
- A list of print-like functions to check calls for format string
problems.
-
.. defcustom:: flycheck-go-build-tags
A list of build tags.
- .. _vet: https://golang.org/cmd/vet/
+ .. _vet: https://pkg.go.dev/cmd/vet/
.. syntax-checker:: go-build
Check syntax and type with the `Go compiler`_.
- .. note::
-
- This syntax checker requires Go 1.6 or newer.
-
- .. _Go compiler: https://golang.org/cmd/go
-
- .. defcustom:: flycheck-go-build-install-deps
-
- Whether to install dependencies while checking with `go-build` or
- `go-test`
+ .. _Go compiler: https://go.dev/cmd/go/
.. defcustom:: flycheck-go-build-tags
:noindex:
@@ -510,15 +497,6 @@ to view the docstring of the syntax checker. Likewise,
you may use
Check syntax and types of Go tests with the `Go compiler`_.
- .. note::
-
- This syntax checker requires Go 1.6 or newer.
-
- .. defcustom:: flycheck-go-build-install-deps
- :noindex:
-
- See `flycheck-go-build-install-deps`.
-
.. defcustom:: flycheck-go-build-tags
:noindex:
@@ -972,6 +950,10 @@ to view the docstring of the syntax checker. Likewise,
you may use
.. _PHPCS Changed: https://github.com/sirbrillig/phpcs-changed
+ .. defcustom:: flycheck-phpcs-changed-git-base
+
+ The git base branch to compare against (e.g. "main", "master",
"trunk").
+
.. defcustom:: flycheck-phpcs-standard
The coding standard, either as name of a built-in standard, or as path