From 6d2edee35e4a303e6e3763ee77d59bb1983f6cbe Mon Sep 17 00:00:00 2001 From: Gergely Polonkai Date: Thu, 15 Sep 2016 16:30:58 +0000 Subject: [PATCH] Update flycheck package --- .../flycheck-autoloads.el | 6 +-- .../flycheck-buttercup.el | 0 .../flycheck-ert.el | 0 .../flycheck-pkg.el | 2 +- .../flycheck.el | 42 ++++++++++++------- 5 files changed, 31 insertions(+), 19 deletions(-) rename elpa/{flycheck-20160912.814 => flycheck-20160915.515}/flycheck-autoloads.el (98%) rename elpa/{flycheck-20160912.814 => flycheck-20160915.515}/flycheck-buttercup.el (100%) rename elpa/{flycheck-20160912.814 => flycheck-20160915.515}/flycheck-ert.el (100%) rename elpa/{flycheck-20160912.814 => flycheck-20160915.515}/flycheck-pkg.el (79%) rename elpa/{flycheck-20160912.814 => flycheck-20160915.515}/flycheck.el (99%) diff --git a/elpa/flycheck-20160912.814/flycheck-autoloads.el b/elpa/flycheck-20160915.515/flycheck-autoloads.el similarity index 98% rename from elpa/flycheck-20160912.814/flycheck-autoloads.el rename to elpa/flycheck-20160915.515/flycheck-autoloads.el index 981c8a0..539365f 100644 --- a/elpa/flycheck-20160912.814/flycheck-autoloads.el +++ b/elpa/flycheck-20160915.515/flycheck-autoloads.el @@ -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)) ;;;*** diff --git a/elpa/flycheck-20160912.814/flycheck-buttercup.el b/elpa/flycheck-20160915.515/flycheck-buttercup.el similarity index 100% rename from elpa/flycheck-20160912.814/flycheck-buttercup.el rename to elpa/flycheck-20160915.515/flycheck-buttercup.el diff --git a/elpa/flycheck-20160912.814/flycheck-ert.el b/elpa/flycheck-20160915.515/flycheck-ert.el similarity index 100% rename from elpa/flycheck-20160912.814/flycheck-ert.el rename to elpa/flycheck-20160915.515/flycheck-ert.el diff --git a/elpa/flycheck-20160912.814/flycheck-pkg.el b/elpa/flycheck-20160915.515/flycheck-pkg.el similarity index 79% rename from elpa/flycheck-20160912.814/flycheck-pkg.el rename to elpa/flycheck-20160915.515/flycheck-pkg.el index b97ff61..d3304f1 100644 --- a/elpa/flycheck-20160912.814/flycheck-pkg.el +++ b/elpa/flycheck-20160915.515/flycheck-pkg.el @@ -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") diff --git a/elpa/flycheck-20160912.814/flycheck.el b/elpa/flycheck-20160915.515/flycheck.el similarity index 99% rename from elpa/flycheck-20160912.814/flycheck.el rename to elpa/flycheck-20160915.515/flycheck.el index 12028ef..a19e09f 100644 --- a/elpa/flycheck-20160912.814/flycheck.el +++ b/elpa/flycheck-20160915.515/flycheck.el @@ -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.