Merge pull request #259 from glumia/glumia/fix-linters

Ignore node_modules on fixers and linters
This commit is contained in:
per1234
2021-12-04 03:58:24 -08:00
committed by GitHub
4 changed files with 12980 additions and 269 deletions
+1 -1
View File
@@ -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 =
+2
View File
@@ -0,0 +1,2 @@
# Dependency directory
node_modules
+4 -2
View File
@@ -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" \
+12973 -266
View File
File diff suppressed because it is too large Load Diff