Skip to content

Commit

Permalink
Update markdownlint configuration to control linting errors
Browse files Browse the repository at this point in the history
  • Loading branch information
MarkvanMents committed Feb 2, 2024
1 parent 5f7179c commit 6ad8e33
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/lint-action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ jobs:
with:
node-version: '20'
# Installs linting tool via npm
# Look at using the related GitHub action here: https://github.com/DavidAnson/markdownlint-cli2-action
- name: Install markdown linter
run: npm install markdownlint-cli2 --global
# Runs linter on content, rules specified in yaml config file
Expand Down
15 changes: 15 additions & 0 deletions .markdownlint-cli2.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -212,3 +212,18 @@ config:

# MD053/link-image-reference-definitions - Link and image reference definitions should be needed
MD053: false

# MD054 - Link and image style
MD054:
autolink: false
inline: true
full: false
collapsed: false
shortcut: false

# MD055 - Table pipe style
# Turned off temporarily as too many files have issues to be recorded in PR description
MD055: false

# MD056 - Table column count
MD056: true

0 comments on commit 6ad8e33

Please sign in to comment.