Skip to content
This repository has been archived by the owner on May 4, 2022. It is now read-only.

Commit

Permalink
Polish
Browse files Browse the repository at this point in the history
  • Loading branch information
cdupuis committed Jul 2, 2020
1 parent 76301fa commit 020b620
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ Find problems in your Markdown files, get pull requests with fixes

Get consistency across your Markdown files.

* Run MarkdownLint with the same consistent configuration across all of your
projects
* Run [MarkdownLint](https://github.com/DavidAnson/markdownlint) with
the same consistent configuration across all of your projects
* Also supports repository-specific MarkdownLint configurations
* Uses GitHub Checks with code-level annotations for linting rule violations
* Optionally get commits or pull requests with fixes
Expand Down
2 changes: 1 addition & 1 deletion markdownlint.matcher.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "markdownlint",
"severity": "error",
"report": "error",
"report": "always",
"pattern": [
{
"regexp": "^([^:]*):(\\d+):?(\\d+)?\\s([\\w-\\/]*)\\s(.*)$",
Expand Down
5 changes: 5 additions & 0 deletions markdownlint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,11 @@ function main () {
if [[ $branch == markdownlint-* ]]; then
exit 0
fi
# Bail if no Markdown files exists in current project
if [[ -z $(find . -name '*.md') ]]; then
exit 0
fi


local outdir=${ATOMIST_OUTPUT_DIR:-/atm/output}

Expand Down

0 comments on commit 020b620

Please sign in to comment.