init-flycheck.org 1.4 KB


(require 'ispell)

  (use-package flycheck :defer t
    :init (global-flycheck-mode))

Install Official recommended flycheck extensions

Show flycheck errors in a popup


  (use-package flycheck-pos-tip  :defer t)
  ;;(with-eval-after-load 'flycheck
    ;;(flycheck-pos-tip-mode)
)

Color the mode line based on how the errors flycheck finds or doesn't find


  (use-package flycheck-color-mode-line  :defer t)
  (eval-after-load "flycheck"
    '(add-hook 'flycheck-mode-hook 'flycheck-color-mode-line-mode))

Pretty emoji


  (use-package flycheck-status-emoji  :defer t)

  (eval-after-load "flycheck"
    '(add-hook 'flycheck-mode-hook 'flycheck-status-emoji-mode))

Install linters

CSS

Here is a list of supported languades. CSSLint

sudo npm install -g csslint

js

sudo npm install -g standard

Provide this file


(provide 'init-flycheck)
;;; init-flycheck ends here