Skip to content

Commit

Permalink
wp-scripts-lint.yml // add "node_modules" to default ignored paths in…
Browse files Browse the repository at this point in the history
… Markdownlint

See also: igorshubovych/markdownlint-cli#405

Signed-off-by: Christian Leucht <[email protected]>
  • Loading branch information
Chrico authored Jun 26, 2023
1 parent fe58d5a commit c563285
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/wp-scripts-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,10 @@ on:
type: string
MARKDOWNLINT_ARGS:
description: Set of arguments passed to `wp-script lint-md-docs`.
default: '--ignore LICENSE.md'
# Gutenberg documentation says, that "node_modules" are ignored by default,
# but this seems not to be the case for markdown-lint-cli
# @link https://github.com/igorshubovych/markdownlint-cli/issues/405
default: '--ignore LICENSE.md --ignore node_modules'
required: false
type: string
PACKAGE_JSONLINT_ARGS:
Expand Down

0 comments on commit c563285

Please sign in to comment.