The computation of $DIFF_DOCUMENTS is futile, because in package.json the list **/*.md is hardcoded and all markdown files are linted anyways. I also think this is the better approach for the CI, so I propose this simplification.
Furthermore I changed the workflow to run
when package-lock.json is changed, because this could mean the linter was updated and new linter versions might have a different opinion on style,
The computation of
$DIFF_DOCUMENTS
is futile, because inpackage.json
the list**/*.md
is hardcoded and all markdown files are linted anyways. I also think this is the better approach for the CI, so I propose this simplification.Furthermore I changed the workflow to run
package-lock.json
is changed, because this could mean the linter was updated and new linter versions might have a different opinion on style,Also see #549.