

GitHub - favadi/flycheck-gometalinter: Flycheck checker for gometalinter
source link: https://github.com/favadi/flycheck-gometalinter
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

README.md
Flycheck checker for golang using gometalinter
This package provides flycheck checker for golang.
Installation
Install gometalinter and install all available checkers with:
gometalinter --install --update
Manually Installation
Copy flycheck-gometalinter.el
file to load-path
and add to init.el
.
(require 'flycheck-gometalinter) (eval-after-load 'flycheck '(add-hook 'flycheck-mode-hook #'flycheck-gometalinter-setup))
Install with Melpa
This package is available in
Melpa and
Melpa Stable, can
be installed with package-install
command.
For use-package
user:
(use-package flycheck-gometalinter :ensure t :config (progn (flycheck-gometalinter-setup)))
Configuration
;; skips 'vendor' directories and sets GO15VENDOREXPERIMENT=1 (setq flycheck-gometalinter-vendor t) ;; only show errors (setq flycheck-gometalinter-errors-only t) ;; only run fast linters (setq flycheck-gometalinter-fast t) ;; use in tests files (setq flycheck-gometalinter-test t) ;; disable linters (setq flycheck-gometalinter-disable-linters '("gotype" "gocyclo")) ;; Only enable selected linters (setq flycheck-gometalinter-disable-all t) (setq flycheck-gometalinter-enable-linters '("golint")) ;; Set different deadline (default: 5s) (setq flycheck-gometalinter-deadline "10s") ;; Use a gometalinter configuration file (default: nil) (setq flycheck-gometalinter-config "/path/to/gometalinter-config.json")
Recommend
-
96
Files Permalink Latest commit message Comm...
-
74
v2.0.0 Compare
-
71
Go Meta Linter gometalinter is DEPRECATED and the project will be archived on 2019-04-07. See #590 for discussion. Switch t...
-
127
attrap - ATtempt To Repair At Point (emacs flycheck extension)
-
88
README.md flycheck-rust — Flycheck for Rust
-
163
README.md GolangCI-Lint
-
119
README.md flycheck-pos-tip This Flycheck extension shows errors under point in pos-tip popups....
-
63
README.md flycheck-mypy
-
81
README.md flycheck-inline
-
8
flycheck-golangci-lint Flycheck checker for golangci-lint Install MELPA M-x package-install flycheck-golangci-lint Manual M-x package-install-file
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK