Skip to content

Commit

Permalink
Fix Markdownlint setup
Browse files Browse the repository at this point in the history
  • Loading branch information
jbelien authored Jan 3, 2025
1 parent bf18630 commit fc25570
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: DavidAnson/markdownlint-cli2-action@v19
with:
globs: '**/*.md'
- uses: actionshub/markdownlint@main

stylelint:
name: Stylelint
Expand Down
6 changes: 6 additions & 0 deletions .mdl.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# Enable all rules by default
all
# Disable a few rules
exclude_rule 'MD002'
exclude_rule 'MD013'
exclude_rule 'MD041'
2 changes: 2 additions & 0 deletions .mdlrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
ignore_front_matter true
style '.mdl.rb'

0 comments on commit fc25570

Please sign in to comment.