Skip to content

Commit

Permalink
Update config for stdin filename
Browse files Browse the repository at this point in the history
  • Loading branch information
tsuyoshicho committed Sep 30, 2023
1 parent 1db68ac commit b9fc8d4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions config/efm-langserver/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down Expand Up @@ -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]'
Expand Down

0 comments on commit b9fc8d4

Please sign in to comment.