aboutsummaryrefslogtreecommitdiff
path: root/.emacs.local.d/modes/flycheck.el
blob: 45571e242d274134695639f840ae191af2edf7d2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
;; Debian-packages: elpa-flycheck python3-proselint

(flycheck-define-checker proselint
  "A linter for prose."
  :command ("proselint" source-inplace)
  :error-patterns
  ((warning line-start (file-name) ":" line ":" column ": "
	    (id (one-or-more (not (any " "))))
	    (message) line-end))
  :modes (text-mode markdown-mode gfm-mode org-mode))

(add-to-list 'flycheck-checkers 'proselint)
nihil fit ex nihilo