Skip to content

Conversation

@barbaraperic
Copy link
Collaborator

📝 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 spacing

Configuration Changes

• Added apps/ff-site/src/app/security/maturity-model/content/.markdownlint.jsonc
◦ Disables MD001, MD013, and MD025 for 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

Screenshot 2025-12-12 at 07 13 23

…content

- Introduced a new markdownlint configuration file to manage linting rules.
- Updated heading levels in various maturity model markdown files for consistency and clarity, changing from H2 to H4 and H3 to H5 where appropriate.
@vercel
Copy link

vercel bot commented Dec 12, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
ffdweb-site Ready Ready Preview Comment Dec 12, 2025 0:39am
filecoin-foundation-site Ready Ready Preview Comment Dec 12, 2025 0:39am
filecoin-foundation-uxit Ready Ready Preview Comment Dec 12, 2025 0:39am
filecoin-site Ready Ready Preview Comment Dec 12, 2025 0:39am

@notion-workspace
Copy link

@barbaraperic
Copy link
Collaborator Author

Close in favour of #2024

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants