Skip to content

krzysztof-magosa/flycheck-yamllint

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 

Repository files navigation

Flycheck YAMLLint integration [NOT MAINTAINED]

MELPA MELPA Stable

Flycheck integration for YAMLLint.

Information

I have contributed my plugin to base Flycheck project, so installation of this plugin is no longer required.

Install

use-package (recommended)

Add this code into your Emacs configuration:

(use-package flycheck-yamllint
  :ensure t
  :defer t
  :init
  (progn
    (eval-after-load 'flycheck
      '(add-hook 'flycheck-mode-hook 'flycheck-yamllint-setup))))

MELPA

  • Press M-x, type package-install
  • Specify flycheck-yamllint
  • Add this code into your Emacs configuration:
(require 'flycheck-yamllint)
(eval-after-load 'flycheck
  '(add-hook 'flycheck-mode-hook 'flycheck-yamllint-setup))

Manual

  • Download flycheck-yamllint.el
  • Put it in some directory like ~/.emacs.d/local/
  • Add this code into your Emacs configuration:
(add-to-list 'load-path
             (expand-file-name "local" user-emacs-directory))

(require 'flycheck-yamllint)
(eval-after-load 'flycheck
  '(add-hook 'flycheck-mode-hook 'flycheck-yamllint-setup))