update packages
This commit is contained in:
@@ -10,8 +10,8 @@
|
||||
;; Bozhidar Batsov <bozhidar@batsov.dev>
|
||||
;; URL: https://github.com/flycheck/flycheck
|
||||
;; Keywords: convenience, languages, tools
|
||||
;; Package-Version: 20260320.1715
|
||||
;; Package-Revision: 0e5eb8300d32
|
||||
;; Package-Version: 20260604.2002
|
||||
;; Package-Revision: 96f1852c7e35
|
||||
;; Package-Requires: ((emacs "27.1") (seq "2.24"))
|
||||
|
||||
;; This file is not part of GNU Emacs.
|
||||
@@ -6268,8 +6268,12 @@ PROCESS, and terminates standard input with EOF."
|
||||
;; can easily use pipes.
|
||||
(process-connection-type nil)
|
||||
;; Force English messages from checker processes so that
|
||||
;; error patterns can match reliably.
|
||||
(process-environment (cons "LC_ALL=C" process-environment)))
|
||||
;; error patterns can match reliably. We set LC_MESSAGES
|
||||
;; rather than LC_ALL so that the character encoding
|
||||
;; (LC_CTYPE) is left untouched; using LC_ALL=C forces an
|
||||
;; ASCII locale that breaks checkers reading UTF-8 input,
|
||||
;; such as hledger (see #2170).
|
||||
(process-environment (cons "LC_MESSAGES=C" process-environment)))
|
||||
;; We do not associate the process with any buffer, by
|
||||
;; passing nil for the BUFFER argument of `start-process'.
|
||||
;; Instead, we just remember the buffer being checked in a
|
||||
@@ -7527,7 +7531,7 @@ See URL `https://asciidoctor.org'."
|
||||
(warning line-start
|
||||
"asciidoctor: WARNING: <stdin>: Line " line ": " (message)
|
||||
line-end))
|
||||
:modes adoc-mode)
|
||||
:modes (adoc-mode asciidoc-mode))
|
||||
|
||||
(defun flycheck-awk-gawk-fix-message (err)
|
||||
"Remove the repeated file-name/line from the error message of ERR."
|
||||
@@ -7553,7 +7557,10 @@ See URL `https://asciidoctor.org'."
|
||||
"GNU awk's built-in --lint checker."
|
||||
:command ("gawk"
|
||||
;; Avoid code execution. See https://github.com/w0rp/ale/pull/1411
|
||||
"--source" "BEGIN{exit} END{exit 1}"
|
||||
;; The BEGIN/END blocks short-circuit the script's own rules so
|
||||
;; only linting happens; exit 0 so that valid scripts don't get
|
||||
;; flagged as a suspicious non-zero exit.
|
||||
"--source" "BEGIN{exit} END{exit}"
|
||||
"-f" source
|
||||
"--lint"
|
||||
"/dev/null")
|
||||
@@ -8549,6 +8556,10 @@ See `https://credo-ci.org/'."
|
||||
;; file-local eval: directives during byte-compilation.
|
||||
(setq enable-local-eval nil
|
||||
enable-local-variables :safe)
|
||||
;; The subprocess only byte-compiles to collect warnings; producing
|
||||
;; .eln files is a wasted side effect that also pollutes the user's
|
||||
;; native-comp cache, so disable native compilation entirely.
|
||||
(setq no-native-compile t)
|
||||
;; Keep track of the generated bytecode files, to delete them after byte
|
||||
;; compilation.
|
||||
(require 'bytecomp)
|
||||
@@ -10771,7 +10782,11 @@ See URL `https://docs.astral.sh/ruff/'."
|
||||
line-end)
|
||||
(warning line-start
|
||||
(or "-" (file-name)) ":" line ":" (optional column ":") " "
|
||||
(id (one-or-more (any alpha)) (one-or-more digit)) " "
|
||||
;; ruff >= 0.15.7 in preview mode wraps the rule code in a
|
||||
;; severity tag, e.g. "error[F401]" instead of just "F401"
|
||||
(optional (one-or-more (any alpha)) "[")
|
||||
(id (one-or-more (any alpha)) (one-or-more digit))
|
||||
(optional "]") " "
|
||||
(message (one-or-more not-newline))
|
||||
line-end))
|
||||
:error-explainer flycheck-python-ruff-explainer
|
||||
@@ -12488,7 +12503,7 @@ See URL `https://textlint.github.io/'."
|
||||
;; user to add mode->plugin mappings manually in
|
||||
;; `flycheck-textlint-plugin-alist'.
|
||||
:modes
|
||||
(text-mode markdown-mode gfm-mode message-mode adoc-mode
|
||||
(text-mode markdown-mode gfm-mode message-mode adoc-mode asciidoc-mode
|
||||
mhtml-mode latex-mode LaTeX-mode org-mode rst-mode)
|
||||
:enabled
|
||||
(lambda () (flycheck--textlint-get-plugin))
|
||||
|
||||
Reference in New Issue
Block a user