Код: Выделить всё
;;;; 0
((error "Missing :command in syntax checker %s" java-checkstyle)
((debugger-may-continue . t) (inhibit-redisplay) (inhibit-debugger . t)
(inhibit-changing-match-data)))
;;;; 1
((flycheck-define-command-checker java-checkstyle
:command :command nil :error-patterns nil :modes nil :next-checkers nil
:standard-input nil :working-directory nil)
((standard-input)))
Я использую doom emacs, если это актуально.
Вот код:
Код: Выделить всё
(flycheck-define-checker java-checkstyle
:command ("java" "-jar" "/home/lucycht/.config/checkstyle/checkstyle-13.0.0-all.jar" "-c" "/home/lucycht/.config/checkstyle/google_checks.xml" "-f" "xml" source)
:error-parser flycheck-parse-checkstyle
:modes (java-mode))
Подробнее здесь: https://stackoverflow.com/questions/798 ... rows-error
Мобильная версия