Skip to content

Commit bbedefd

Browse files
yunbowclaude
andcommitted
ci(lint): add markdownlint config file and CI badge to all READMEs
- Add .markdownlint-cli2.jsonc for markdownlint configuration - Move markdownlint config from inline workflow to config file - Ignore relative .md links in mlc_config.json link checker - Add CI lint badge to README.md and all i18n variants Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent 3a005db commit bbedefd

8 files changed

Lines changed: 15 additions & 7 deletions

File tree

.github/mlc_config.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
{
22
"ignorePatterns": [
3-
{ "pattern": "^https://github.com/yunbow/" }
3+
{ "pattern": "^https://github.com/yunbow/" },
4+
{ "pattern": "^\\./?.*\\.md$" }
45
],
56
"timeout": "10s",
67
"retryOn429": true,

.github/workflows/lint.yml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,6 @@ jobs:
1414
- uses: DavidAnson/markdownlint-cli2-action@v19
1515
with:
1616
globs: "**/*.md"
17-
config: |
18-
{
19-
"MD013": false,
20-
"MD033": false,
21-
"MD041": false
22-
}
2317

2418
link-check:
2519
runs-on: ubuntu-latest

.markdownlint-cli2.jsonc

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"config": {
3+
"MD001": false,
4+
"MD013": false,
5+
"MD033": false,
6+
"MD041": false
7+
}
8+
}

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
# AI Dev OS Rules — TypeScript
22

3+
[![Lint & Link Check](https://github.com/yunbow/ai-dev-os-rules-typescript/actions/workflows/lint.yml/badge.svg)](https://github.com/yunbow/ai-dev-os-rules-typescript/actions/workflows/lint.yml)
34
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](./LICENSE)
45

56
> 4-layer guidelines for TypeScript projects (Next.js, Node.js CLI, etc.).

docs/i18n/es/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
# AI Dev OS Rules — TypeScript
22

3+
[![Lint & Link Check](https://github.com/yunbow/ai-dev-os-rules-typescript/actions/workflows/lint.yml/badge.svg)](https://github.com/yunbow/ai-dev-os-rules-typescript/actions/workflows/lint.yml)
34
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](../../../LICENSE)
45

56
> Directrices de 4 capas para proyectos TypeScript (Next.js, Node.js CLI, etc.).

docs/i18n/ja/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
# AI Dev OS Rules — TypeScript
22

3+
[![Lint & Link Check](https://github.com/yunbow/ai-dev-os-rules-typescript/actions/workflows/lint.yml/badge.svg)](https://github.com/yunbow/ai-dev-os-rules-typescript/actions/workflows/lint.yml)
34
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](../../../LICENSE)
45

56
> TypeScript プロジェクト(Next.js、Node.js CLI 等)向けの 4 層ガイドライン。

docs/i18n/ko/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
# AI Dev OS Rules — TypeScript
22

3+
[![Lint & Link Check](https://github.com/yunbow/ai-dev-os-rules-typescript/actions/workflows/lint.yml/badge.svg)](https://github.com/yunbow/ai-dev-os-rules-typescript/actions/workflows/lint.yml)
34
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](../../../LICENSE)
45

56
> TypeScript 프로젝트(Next.js, Node.js CLI 등)를 위한 4계층 가이드라인.

docs/i18n/zh-CN/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
# AI Dev OS Rules — TypeScript
22

3+
[![Lint & Link Check](https://github.com/yunbow/ai-dev-os-rules-typescript/actions/workflows/lint.yml/badge.svg)](https://github.com/yunbow/ai-dev-os-rules-typescript/actions/workflows/lint.yml)
34
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](../../../LICENSE)
45

56
> TypeScript 项目(Next.js、Node.js CLI 等)的 4 层指南。

0 commit comments

Comments
 (0)