Merge pull request #259 from glumia/glumia/fix-linters
Ignore node_modules on fixers and linters
This commit is contained in:
+1
-1
@@ -3,7 +3,7 @@
|
||||
[codespell]
|
||||
# In the event of a false positive, add the problematic word, in all lowercase, to a comma-separated list here:
|
||||
ignore-words-list = afterall
|
||||
skip = ./.git,./dist,./go.mod,./go.sum,./package-lock.json,./poetry.lock,./yarn.lock
|
||||
skip = ./.git,./dist,./go.mod,./go.sum,./package-lock.json,./poetry.lock,./yarn.lock,./node_modules
|
||||
builtin = clear,informal,en-GB_to_en-US
|
||||
check-filenames =
|
||||
check-hidden =
|
||||
|
||||
@@ -0,0 +1,2 @@
|
||||
# Dependency directory
|
||||
node_modules
|
||||
+4
-2
@@ -82,7 +82,8 @@ tasks:
|
||||
# Using -regex instead of -name to avoid Task's behavior of globbing even when quoted on Windows
|
||||
# The odd method for escaping . in the regex is required for windows compatibility because mvdan.cc/sh gives
|
||||
# \ characters special treatment on Windows in an attempt to support them as path separators.
|
||||
for file in $(find . -regex ".*[.]md"); do
|
||||
for file in \
|
||||
$(find . -type d -name node_modules -prune -o -regex ".*[.]md" -print); do
|
||||
markdown-link-check \
|
||||
--quiet \
|
||||
--config "./.markdown-link-check.json" \
|
||||
@@ -93,7 +94,8 @@ tasks:
|
||||
else
|
||||
npx --package=markdown-link-check --call='
|
||||
STATUS=0
|
||||
for file in $(find . -regex ".*[.]md"); do
|
||||
for file in \
|
||||
$(find . -type d -name node_modules -prune -o -regex ".*[.]md" -print); do
|
||||
markdown-link-check \
|
||||
--quiet \
|
||||
--config "./.markdown-link-check.json" \
|
||||
|
||||
Generated
+12973
-266
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user