Hacker News new | ask | show | jobs
by mlevental 2443 days ago
a more general such tool: http://proselint.com/
2 comments

Thanks this looks very useful. It explicitly strives to minimize false positives.

It comes with a bullshit module, too :)

https://github.com/amperser/proselint/blob/master/proselint/...

Thanks, looks great. I need to get this hooked into Emacs!
This may help :-)

  (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 (one-or-more not-newline)
                         (zero-or-more "\n" (any " ") (one-or-more not-newline)))
              line-end))
      :modes (text-mode markdown-mode gfm-mode org-mode))
(More details in my config at https://jamiecollinson.com/blog/my-emacs-config/#syntax-chec...)