branch: elpa/flycheck commit ebaf48359b3e21879c8f6f3c1b5d0221b345035e Author: Stefan Mòˆding <s...@kill-9.net> Commit: Bozhidar Batsov <bozhi...@batsov.dev>
Support new puppet-ts-mode --- flycheck.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/flycheck.el b/flycheck.el index a702c785be..ac6a7ef6cd 100644 --- a/flycheck.el +++ b/flycheck.el @@ -10602,7 +10602,7 @@ See URL `https://puppet.com/'." ": Could not parse for environment " (one-or-more word) ": " (message (minimal-match (zero-or-more anything))) " at " (file-name "/" (zero-or-more not-newline)) ":" line line-end)) - :modes puppet-mode + :modes (puppet-mode puppet-ts-mode) :next-checkers ((warning . puppet-lint))) (flycheck-def-config-file-var flycheck-puppet-lint-rc puppet-lint @@ -10644,7 +10644,7 @@ See URL `https://puppet-lint.com/'." :error-patterns ((warning line-start (file-name) ":" line ":warning: " (message) line-end) (error line-start (file-name) ":" line ":error: " (message) line-end)) - :modes puppet-mode + :modes (puppet-mode puppet-ts-mode) ;; Since we check the original file, we can only use this syntax checker if ;; the buffer is actually linked to a file, and if it is not modified. :predicate flycheck-buffer-saved-p)