diff options
| author | Magdalena Szweda <roughlynamed@disroot.org> | 2026-09-18 17:18:11 +0200 |
|---|---|---|
| committer | Magdalena Szweda <roughlynamed@disroot.org> | 2026-09-18 20:01:51 +0200 |
| commit | 8ee08f6c356d6aaf5ea9f9e644c126a683ca948f (patch) | |
| tree | cb75326ce34e32a3ec8345b9abaa7bb1fd15e2d8 /+flycheck.el | |
| parent | bb94aa9bae95cb10ce41f3ebe58266e508d58c9d (diff) | |
emacs: fucking everythign bro
Diffstat (limited to '+flycheck.el')
| -rw-r--r-- | +flycheck.el | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/+flycheck.el b/+flycheck.el new file mode 100644 index 0000000..0b184b3 --- /dev/null +++ b/+flycheck.el @@ -0,0 +1,21 @@ +;;; $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))) |
