[SHARED][UXIT-3702] Fix Markdown Lint Issues #2023
Closed
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
📝 Description
I've used Warp to analyze linting errors and generate scripts to fix them automatically. Here's the summary of changes:
Changes Made
Fixed all markdown linting errors across 310+ files while preserving frontmatter integrity.
Markdown Linting Fixes
•
MD001(heading-increment): Fixed heading hierarchy in 310 files to ensure headings only increment by one level at a time◦ Files with frontmatter titles now start at H2 as the title acts as H1
◦ Fixed heading levels to follow proper hierarchy (e.g., H3 → H2 when needed)
•
MD003(heading-style): Converted setext-style headings (underlined with === or ---) to ATX-style headings (#, ##, etc.)•
MD007(ul-indent): Fixed list indentation◦ Removed incorrect 2-space indentation from top-level list items
◦ Fixed nested list items from 4-space to 2-space indentation
•
MD022(blanks-around-headings): Added required blank lines before and after headings•
MD026(no-trailing-punctuation): Removed trailing punctuation from headings•
MD032(blanks-around-lists): Added required blank lines before and after lists•
MD060(table-column-style): Fixed table pipe alignment and spacingConfiguration Changes
• Added
apps/ff-site/src/app/security/maturity-model/content/.markdownlint.jsonc◦ Disables
MD001,MD013, andMD025for maturity model content files◦ These files are components embedded in larger pages and don't require H1 headings
Results
• Before: 988+ linting errors
• After: 0 linting errors
• All 1,441 markdown files now pass linting
• Frontmatter preserved in all files
📸 Screenshots