Skip to content

Updated spacing on MD056 #10

Updated spacing on MD056

Updated spacing on MD056 #10

Workflow file for this run

name: Markdown Lint
on:
push:
branches:
- main
pull_request:
jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: '20'
- name: Install markdownlint-cli
run: npm install -g markdownlint-cli
- name: Create markdownlint configuration
run: |
echo '{
"MD013": {
"line_length": 2000, // Sets a high line length limit (600 characters)
"ignore_urls": true, // Ignores long lines that contain URLs
"ignore_code_blocks": true, // Ignores long lines within code blocks
"ignore_tables": true // Ignores long lines within tables
},
"MD026": false, // Ignores rule for trailing punctuation in headings
"MD031": false, // Ignores rule for blank lines around fenced code blocks
"MD032": false, // Ignores rule for blank lines around lists
"MD034": false, // Disables the rule that flags bare URLs
"MD037": false, // Ignores rule for emphasis used instead of a heading
"MD040": false, // Ignores rule for fenced code blocks without a language specified
"MD047": false // Ignores rule for a single trailing newline at the end of files
"MD056": false // Ignores rule for unnecessary indentation for list items
}' > .markdownlint.json
- name: Run markdownlint
run: markdownlint '**/*.md'