Skip to content

Commit

Permalink
modified markdown file and rules
Browse files Browse the repository at this point in the history
Signed-off-by: mojafa <[email protected]>
  • Loading branch information
mojafa committed Jan 31, 2025
1 parent c0c5e4c commit 2949cc3
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 37 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/content-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: '18'
node-version: '14'
cache: 'npm'

- name: Install dependencies
Expand Down Expand Up @@ -93,6 +93,7 @@ jobs:

- name: Run Markdown Lint
run: |
markdownlint '**/*.md' \
markdownlint '**/*.md' \
--config .markdownlint.json \
--ignore node_modules \
--config .markdownlint.json
--ignore .github
46 changes: 12 additions & 34 deletions .markdownlint.json
Original file line number Diff line number Diff line change
@@ -1,39 +1,17 @@
{
"default": true,
"MD013": {
"line_length": 300,
"ignore_code_blocks": true
},
"MD033": {
"allowed_elements": ["img"]
},
"ignores": [
"node_modules/**",
"dist/**",
"build/**",
"coverage/**",
"**/node_modules/**",
"**/dist/**",
"**/CHANGELOG.md",
"**/LICENSE.md",
"**/LICENSE*",
"**/README.md"
],
"MD001": { "level": 1 },
"MD002": { "level": 1 },
"MD003": { "style": "atx" },
"MD004": { "style": "dash" },
"MD005": false,
"MD013": { "line_length": 300 },
"MD022": true,
"MD023": true,
"MD025": false,
"MD026": false,
"MD031": false,
"MD032": false,
"MD033": false,
"MD034": true,
"MD035": { "style": "---" },
"MD036": false,
"MD037": true,
"MD038": true,
"MD039": true,
"MD040": false,
"MD041": false,
"MD042": false,
"MD043": false,
"MD045": false,
"MD046": { "style": "fenced" },
"MD047": false,
"MD048": false
}
]
}

0 comments on commit 2949cc3

Please sign in to comment.