;;; $DOOMDIR/+flycheck.el -*- lexical-binding: t; -*- ;; TODO: fix linter not working (not popping up and stuff) (after! flycheck (flycheck-define-checker htmlhint "htmlhint for flycheck" :command ("htmlhint" "--format" "unix" source) :error-patterns ((error line-start (file-name) ":" line ":" column ": " (message) line-end)) :modes (web-mode)) (add-to-list 'flycheck-checkers 'htmlhint) (flycheck-add-next-checker 'javascript-eslint 'javascript-oxlint) (flycheck-add-next-checker 'html-tidy 'htmlhint) (setq flycheck-check-syntax-automatically '(save mode-enabled)))