Update flycheck package

This commit is contained in:
Gergely Polonkai 2016-09-15 16:30:58 +00:00
parent 5ef758ad8e
commit 6d2edee35e
5 changed files with 31 additions and 19 deletions

View File

@ -3,8 +3,8 @@
;;; Code:
(add-to-list 'load-path (or (file-name-directory #$) (car load-path)))
;;;### (autoloads nil "flycheck" "flycheck.el" (22490 28019 716696
;;;;;; 411000))
;;;### (autoloads nil "flycheck" "flycheck.el" (22490 51490 508000
;;;;;; 0))
;;; Generated autoloads from flycheck.el
(autoload 'flycheck-manual "flycheck" "\
@ -227,7 +227,7 @@ Use this together with the `option', `option-list' and
;;;***
;;;### (autoloads nil nil ("flycheck-buttercup.el" "flycheck-ert.el"
;;;;;; "flycheck-pkg.el") (22490 28019 735908 443000))
;;;;;; "flycheck-pkg.el") (22490 51490 517423 776000))
;;;***

View File

@ -1,4 +1,4 @@
(define-package "flycheck" "20160912.814" "On-the-fly syntax checking"
(define-package "flycheck" "20160915.515" "On-the-fly syntax checking"
'((dash "2.12.1")
(pkg-info "0.4")
(let-alist "1.0.4")

View File

@ -197,7 +197,6 @@ attention to case differences."
haskell-ghc
haskell-hlint
html-tidy
jade
javascript-eslint
javascript-jshint
javascript-gjslint
@ -214,6 +213,7 @@ attention to case differences."
php-phpmd
php-phpcs
processing
pug
puppet-parser
puppet-lint
python-flake8
@ -7372,20 +7372,6 @@ See URL `https://github.com/htacg/tidy-html5'."
" - Warning: " (message) line-end))
:modes (html-mode nxhtml-mode))
(flycheck-define-checker jade
"A Jade syntax checker using the Jade compiler.
See URL `http://jade-lang.com'."
:command ("jade")
:standard-input t
:error-patterns
((error line-start
"Error: Jade:" line (zero-or-more not-newline) "\n"
(one-or-more (and (zero-or-more not-newline) "|"
(zero-or-more not-newline) "\n"))
(zero-or-more not-newline) "\n" (message) line-end))
:modes jade-mode)
(flycheck-def-config-file-var flycheck-jshintrc javascript-jshint ".jshintrc"
:safe #'stringp)
@ -7777,6 +7763,32 @@ See https://github.com/processing/processing/wiki/Command-Line"
;; This syntax checker needs a file name
:predicate (lambda () (buffer-file-name)))
(flycheck-define-checker pug
"A Pug syntax checker using the pug compiler.
See URL `https://pugjs.org/'."
:command ("pug" "-p" (eval (expand-file-name (buffer-file-name))))
:standard-input t
:error-patterns
;; errors with includes/extends (e.g. missing files)
((error "Error: " (message) (zero-or-more not-newline) "\n"
(zero-or-more not-newline) "at "
(zero-or-more not-newline) " line " line)
;; syntax/runtime errors (e.g. type errors, bad indentation, etc.)
(error line-start
(optional "Type") "Error: " (file-name) ":" line (optional ":" column)
(zero-or-more not-newline) "\n"
(one-or-more (or (zero-or-more not-newline) "|"
(zero-or-more not-newline) "\n")
(zero-or-more "-") (zero-or-more not-newline) "|"
(zero-or-more not-newline) "\n")
(zero-or-more not-newline) "\n"
(one-or-more
(zero-or-more not-newline) "|"
(zero-or-more not-newline) "\n") (zero-or-more not-newline) "\n"
(message) line-end))
:modes pug-mode)
(flycheck-define-checker puppet-parser
"A Puppet DSL syntax checker using puppet's own parser.