mirror of
https://github.com/ArduPilot/ardupilot.git
synced 2026-02-06 01:00:47 +08:00
All inline HTML has been converted to markdown, so we can now enforce strict no-inline-HTML checking in the markdown linter. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
34 lines
1.5 KiB
JSON
34 lines
1.5 KiB
JSON
{
|
|
// Configuration for markdownlint-cli2
|
|
// Ignore vendored/external directories
|
|
"ignores": [
|
|
"libraries/AP_GyroFFT/CMSIS_5/**",
|
|
"libraries/AP_ADSB/sagetech-sdk/**",
|
|
"modules/**"
|
|
],
|
|
"config": {
|
|
// Disable rules that are currently violated in the codebase
|
|
// These can be re-enabled incrementally as files are fixed
|
|
"MD001": false, // Heading levels should only increment by one level at a time
|
|
"MD003": false, // Heading style
|
|
"MD004": false, // Unordered list style
|
|
"MD007": false, // Unordered list indentation
|
|
"MD012": false, // Multiple consecutive blank lines
|
|
"MD013": false, // Line length
|
|
"MD014": false, // Dollar signs used before commands without showing output
|
|
"MD022": false, // Headings should be surrounded by blank lines
|
|
"MD024": false, // Multiple headings with the same content
|
|
"MD025": false, // Multiple top-level headings in the same document
|
|
"MD026": false, // Trailing punctuation in heading
|
|
"MD029": false, // Ordered list item prefix
|
|
"MD032": false, // Lists should be surrounded by blank lines
|
|
"MD033": true, // Inline HTML - no inline HTML allowed
|
|
"MD034": false, // Bare URL used
|
|
"MD036": false, // Emphasis used instead of a heading
|
|
"MD037": false, // Spaces inside emphasis markers
|
|
"MD040": false, // Fenced code blocks should have a language specified
|
|
"MD041": false, // First line in a file should be a top-level heading
|
|
"MD045": false // Images should have alternate text
|
|
}
|
|
}
|