Skip to content

arnavsharma93/flycheck-golangci-lint

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 

Repository files navigation

flycheck-golangci-lint

Flycheck checker for golangci-lint

Install

MELPA

M-x package-install flycheck-golangci-lint

Manual

M-x package-install-file

Usage

Add the following lines to your config

(eval-after-load 'flycheck                                       
  '(add-hook 'flycheck-mode-hook #'flycheck-golangci-lint-setup))

If you have use-package installed

(use-package flycheck-golangci-lint
  :ensure t
  :hook (go-mode . flycheck-golangci-lint-setup))

Available options

--config (default: nil)

(setq flycheck-golangci-lint-config "path/to/config")

--deadline (default: 1m)

(setq flycheck-golangci-lint-deadline "1m")

--tests (default: nil)

(setq flycheck-golangci-lint-tests t)

--fast (default: nil)

(setq flycheck-golangci-lint-fast t)

Contribute

Pull requests are welcomed :)

About

Flycheck checker for golangci-lint

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Emacs Lisp 100.0%