Skip to content
Navigation Menu
Sign in
Products
Platform
GitHub
Repository hosting, code review, and collaboration
Copilot
AI coding agent for tasks, projects, and automated work
Build & Ship
Actions
CI/CD and automation
Code Quality
Quality analysis, fixes, and enforcement
Codespaces
Cloud development environments
Secure
Code Security
Vulnerability detection and remediation
Secret Protection
Secret scanning and leak prevention
All Features
Developers
Learn
Documentation
Training
Certifications
Build
Build with Copilot
Customize Copilot
Integrations
Explore
Trending repos
GitHub Sponsors
Developer articles
Changelog
Changelog
Your source for the latest features, improvements, and fixes across GitHub products, all in one place.
Businesses
By Stage
Enterprises
Small and medium teams
Startups
Nonprofits
By Industry
Healthcare
Financial services
Manufacturing
Government
See all industries
Evaluate GitHub
Why GitHub
Customer Stories
Business insights
Trust Center
Add-ons
GitHub Advanced Security
Enterprise-grade code security
Copilot for business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Resources
Learn & Connect
Documentation
Resource center
Blog
Events & webinars
Community Forum
Customer Stories
Integrations
Support
Customer support
Training
GitHub Status
Company
About
Partners
Changelog
GitHub Universe
GitHub Universe
The event for developers, by developers — talks, workshops, and what’s next for GitHub.
Pricing
Search
/
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
full-stack-plugins
codeguard-plugin
Repository navigation
Code
Issues
Pull requests
1
(1)
Actions
Projects
Security and quality
Insights
More
items
Files
Expand file tree
main
Breadcrumbs
codeguard-plugin
/
.markdownlint-cli2.jsonc
Copy path
Blame
More file actions
Blame
More file actions
Latest commit
History
History
History
27 lines (25 loc) · 1.5 KB
main
Breadcrumbs
codeguard-plugin
/
.markdownlint-cli2.jsonc
Copy path
Top
File metadata and controls
Code
Blame
27 lines (25 loc) · 1.5 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
// codestyle-check (codeguard): markdownlint 宽松配置
// 定位:AI 产出的报告/文档不应用代码级规则拦截;本配置只保留真正影响可读性的规则。
// 使用方法:拷贝到项目根 .markdownlint-cli2.jsonc
{
"config": {
// ===== 关闭(报告/文档类高频误报)=====
"MD013": false, // line-length:报告行宽不设限
"MD022": false, // headings 应前后空行
"MD031": false, // fenced code blocks 前后空行
"MD032": false, // lists 前后空行
"MD040": false, // fenced code blocks 语言标注
"MD041": false, // 首行必须是标题(附录/片段常不满足)
"MD033": false, // 行内 HTML(报告常用表格/详情标签)
"MD036": false, // 不用强调代替标题
"MD034": false, // 不带空格的裸 URL
"MD038": false, // 行内代码中的反引号
"MD047": false, // 文件末尾单换行(工具生成文件常缺)
"MD060": false, // 表格列样式(新规则;报告表格不按它排版,同 MD013 理由)
// ===== 保留(真实影响可读性)=====
"MD009": { "br_spaces": 0 }, // 行尾空格
"MD010": { "code_blocks": false }, // 硬 tab
"MD012": { "maximum": 3 }, // 连续空行上限
"MD004": { "style": "dash" }, // 无序列表符号一致
}
}
You can’t perform that action at this time.