-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test: fix missing conf file at markdownlint
- Loading branch information
1 parent
8f6c39e
commit fece5d5
Showing
3 changed files
with
30 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
{ | ||
"default": true, | ||
"line-length": false, | ||
"MD001": false, | ||
"MD024": false, | ||
"MD033": { "allowed_elements": ["a", "p", "img"] }, | ||
"MD041": false | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
node_modules |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
#!/usr/bin/env bash | ||
|
||
function print_errors() { | ||
for line in "${lines[@]}"; do | ||
echo "$line" | ||
done | ||
} | ||
|
||
function shellcheck_test() { | ||
shellcheck_url="https://github.com/koalaman/shellcheck" | ||
|
||
which shellcheck > /dev/null || { | ||
echo "shellcheck not found, please install: $shellcheck_url" | ||
exit 1 | ||
} | ||
|
||
scripts=$(find . -name '*.sh' -name '*.bash') | ||
for script in $scripts; do | ||
shellcheck "$script" | ||
done | ||
} |