Skip to content

Commit

Permalink
Updated markdown linting.
Browse files Browse the repository at this point in the history
  • Loading branch information
ceiphr committed Apr 20, 2022
1 parent 6f42815 commit b61db73
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 5 deletions.
6 changes: 6 additions & 0 deletions .markdownlint.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"default": true,
"MD013": false,
"MD030": false,
"MD033": false
}
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
<div id="top"></div>

# Reserver

<div id="top"></div>
<!-- TODO: Logo -->

[![CI][ci-shield]][ci-url]
Expand Down
6 changes: 3 additions & 3 deletions reserver.sh
Original file line number Diff line number Diff line change
Expand Up @@ -168,9 +168,9 @@ remove() {
}

# Safety checks
version=5
if ((BASH_VERSINFO[0] < version)); then
echo -e "${TXT_RED}This script was tested on GNU bash, version ${version}."
BASH_VERSION=5
if ((BASH_VERSINFO[0] < BASH_VERSION)); then
echo -e "${TXT_RED}This script was tested on GNU bash, version ${BASH_VERSION}."
echo -e "You're using an older version (v${BASH_VERSINFO[0]}).${TXT_DEFAULT}"
message="Would you still like to continue?"
yes_or_no "$message" || exit 1
Expand Down

0 comments on commit b61db73

Please sign in to comment.