branch: elpa/flycheck commit 87b9b4edd7e6664261e29778174400f40a23b3d2 Author: Bozhidar Batsov <bozhi...@batsov.dev> Commit: Bozhidar Batsov <bozhi...@batsov.dev>
Add references to markdownlint-cli2 when needed --- doc/user/error-interaction.rst | 1 + test/flycheck-test.el | 8 ++++---- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/doc/user/error-interaction.rst b/doc/user/error-interaction.rst index a54e6ccbd7..e9ed59cb84 100644 --- a/doc/user/error-interaction.rst +++ b/doc/user/error-interaction.rst @@ -205,6 +205,7 @@ checkers produce explanations, the majority do not. Those that do are: * `css-stylelint` * `javascript-eslint` * `markdown-markdownlint-cli` +* `markdown-markdownlint-cli2` * `nix-linter` * `perl-perlcritic` * `python-pylint` diff --git a/test/flycheck-test.el b/test/flycheck-test.el index bad4287686..62618ab262 100644 --- a/test/flycheck-test.el +++ b/test/flycheck-test.el @@ -4133,7 +4133,7 @@ Perhaps: ;; because Click, used by ProseLint, when running with python 3 will refuse to ;; work unless an Unicode locale is exported. See: ;; http://click.pocoo.org/5/python3/#python-3-surrogate-handling - (let ((flycheck-disabled-checkers '(markdown-markdownlint-cli markdown-mdl markdown-pymarkdown))) + (let ((flycheck-disabled-checkers '(markdown-markdownlint-cli markdown-markdownlint-cli2 markdown-mdl markdown-pymarkdown))) (flycheck-ert-with-env '(("LC_ALL" . nil)) (flycheck-ert-should-syntax-check "language/text/text.txt" '(text-mode markdown-mode) @@ -4433,7 +4433,7 @@ Perhaps: :id "MD009/no-trailing-spaces" :checker markdown-markdownlint-cli))) (flycheck-ert-def-checker-test markdown-mdl markdown nil - (let ((flycheck-disabled-checkers '(markdown-markdownlint-cli markdown-pymarkdown))) + (let ((flycheck-disabled-checkers '(markdown-markdownlint-cli markdown-markdownlint-cli2 markdown-pymarkdown))) (flycheck-ert-should-syntax-check "language/markdown.md" 'markdown-mode '(1 nil error "First header should be a top level header" @@ -4444,7 +4444,7 @@ Perhaps: :id "MD009" :checker markdown-mdl)))) (flycheck-ert-def-checker-test markdown-pymarkdown markdown nil - (let ((flycheck-disabled-checkers '(markdown-markdownlint-cli markdown-mdl))) + (let ((flycheck-disabled-checkers '(markdown-markdownlint-cli markdown-markdownlint-cli2 markdown-mdl))) (flycheck-ert-should-syntax-check "language/markdown.md" 'markdown-mode '(1 nil error "Headings should be surrounded by blank lines. [Expected: 1; Actual: 2; Below] (blanks-around-headings,blanks-around-headers)" @@ -5085,7 +5085,7 @@ The manifest path is relative to :checker texinfo))) (flycheck-ert-def-checker-test textlint (text markdown) nil - (let ((flycheck-disabled-checkers '(proselint markdown-markdownlint-cli markdown-mdl)) + (let ((flycheck-disabled-checkers '(proselint markdown-markdownlint-cli markdown-markdownlint-cli2 markdown-mdl)) (flycheck-textlint-config "language/text/textlintrc.json")) (flycheck-ert-should-syntax-check "language/text/text.txt" '(text-mode markdown-mode)