update packages
This commit is contained in:
@@ -10,7 +10,8 @@
|
||||
;; Bozhidar Batsov <bozhidar@batsov.dev>
|
||||
;; URL: https://www.flycheck.org
|
||||
;; Keywords: convenience, languages, tools
|
||||
;; Version: 35.0-snapshot
|
||||
;; Package-Version: 20250527.907
|
||||
;; Package-Revision: a4d782e7af12
|
||||
;; Package-Requires: ((emacs "27.1"))
|
||||
|
||||
;; This file is not part of GNU Emacs.
|
||||
@@ -179,6 +180,7 @@
|
||||
lua-luacheck
|
||||
lua
|
||||
markdown-markdownlint-cli
|
||||
markdown-markdownlint-cli2
|
||||
markdown-mdl
|
||||
markdown-pymarkdown
|
||||
nix
|
||||
@@ -1274,7 +1276,7 @@ Only has effect when variable `global-flycheck-mode' is non-nil."
|
||||
|
||||
|
||||
|
||||
(defconst flycheck-version "35.0-snapshot"
|
||||
(defconst flycheck-version "35.0"
|
||||
"The current version of Flycheck.
|
||||
|
||||
Should be kept in sync with the package version metadata.
|
||||
@@ -10891,6 +10893,7 @@ See URL `https://docs.astral.sh/ruff/'."
|
||||
:command ("ruff"
|
||||
"check"
|
||||
(config-file "--config" flycheck-python-ruff-config)
|
||||
;; older versions of ruff (before 0.2) used "text" instead of "concise"
|
||||
"--output-format=concise"
|
||||
(option "--stdin-filename" buffer-file-name)
|
||||
"-")
|
||||
@@ -11300,6 +11303,35 @@ See URL `https://github.com/igorshubovych/markdownlint-cli'."
|
||||
(url "https://github.com/DavidAnson/markdownlint/blob/main/doc/Rules.md#%s"))
|
||||
(and error-code `(url . ,(format url error-code))))))
|
||||
|
||||
(flycheck-def-config-file-var flycheck-markdown-markdownlint-cli2-config
|
||||
markdown-markdownlint-cli2
|
||||
'(".markdownlint-cli2.json" ".markdownlint-cli2.jsonc" ".markdownlint-cli2.yaml")
|
||||
:package-version '(flycheck . "35"))
|
||||
|
||||
(flycheck-define-checker markdown-markdownlint-cli2
|
||||
"Markdown checker using markdownlint-cli2.
|
||||
|
||||
See URL `https://github.com/DavidAnson/markdownlint-cli2'."
|
||||
:command ("markdownlint-cli2"
|
||||
(config-file "--config" flycheck-markdown-markdownlint-cli2-config)
|
||||
"--"
|
||||
source)
|
||||
:error-patterns
|
||||
((error line-start
|
||||
(file-name) ":" line
|
||||
(? ":" column) " " (id (one-or-more (not (any space))))
|
||||
" " (message) line-end))
|
||||
:error-filter
|
||||
(lambda (errors)
|
||||
(flycheck-sanitize-errors
|
||||
(flycheck-remove-error-file-names "(string)" errors)))
|
||||
:modes (markdown-mode gfm-mode)
|
||||
:error-explainer
|
||||
(lambda (err)
|
||||
(let ((error-code (substring (flycheck-error-id err) 0 5))
|
||||
(url "https://github.com/DavidAnson/markdownlint/blob/main/doc/Rules.md#%s"))
|
||||
(and error-code `(url . ,(format url error-code))))))
|
||||
|
||||
(flycheck-def-option-var flycheck-markdown-mdl-rules nil markdown-mdl
|
||||
"Rules to enable for mdl.
|
||||
|
||||
@@ -11361,7 +11393,7 @@ See URL `https://github.com/markdownlint/markdownlint'."
|
||||
|
||||
See URL `https://pypi.org/project/pymarkdownlnt/'."
|
||||
:command ("pymarkdown"
|
||||
(config-file "--config" flycheck-markdown-markdownlint-cli-config)
|
||||
(config-file "--config" flycheck-markdown-pymarkdown-config)
|
||||
"scan"
|
||||
source)
|
||||
:error-patterns
|
||||
|
||||
Reference in New Issue
Block a user