From b9fc8d41cb6d34b3746e23f7a6ce4a9306e5a302 Mon Sep 17 00:00:00 2001 From: Tsuyoshi CHO Date: Sat, 30 Sep 2023 18:20:01 +0900 Subject: [PATCH] Update config for stdin filename --- config/efm-langserver/config.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config/efm-langserver/config.yaml b/config/efm-langserver/config.yaml index e1a41fd..cf936e7 100644 --- a/config/efm-langserver/config.yaml +++ b/config/efm-langserver/config.yaml @@ -134,7 +134,7 @@ tools: markdownlint-lint: &markdownlint-lint prefix: markdownlint - lint-command: 'markdownlint --stdin' + lint-command: 'markdownlint --stdin' # markdownlint do not support --stdin-filename like option lint-stdin: true lint-formats: - '%f:%l:%c MD%n/%*[^ ] %m' @@ -346,7 +346,7 @@ tools: textlint-lint: &textlint-lint prefix: textlint - lint-command: 'npx --no-install textlint -f unix --no-color --stdin' + lint-command: 'npx --no-install textlint -f unix --no-color --stdin --stdin-filename ${INPUT}' lint-stdin: true lint-formats: - '%f:%l:%c: %m [%trror/%r]'