File tree Expand file tree Collapse file tree 2 files changed +20
-5
lines changed
Expand file tree Collapse file tree 2 files changed +20
-5
lines changed Original file line number Diff line number Diff line change @@ -93,15 +93,28 @@ npx markdownlint --config .markdownlint.json "en/**/*.md"
9393# Lint all markdown files
9494npm run lint:md
9595
96- # Fix auto-fixable issues
96+ # Lint only English docs
97+ npm run lint:md:en
98+
99+ # Lint only Japanese docs
100+ npm run lint:md:jp
101+
102+ # Fix auto-fixable issues (all files)
97103npm run lint:md:fix
98104
99- # Run spell check only
105+ # Run spell check on English docs only
100106npm run spellcheck
101107
102- # Run full verification (includes spell check)
108+ # Run spell check on Japanese docs only
109+ npm run spellcheck:jp
110+
111+ # Run full verification on English docs (spell check + linting)
103112npm run verify
104113
114+ # Run full verification on Japanese docs (spell check + linting)
115+ npm run verify:jp
116+ ```
117+
105118## Auto-Fix Capabilities
106119
107120### Recommended Workflow
Original file line number Diff line number Diff line change 1010 "test" : " echo \" Error: no test specified\" && exit 1" ,
1111 "postinstall" : " dotnet tool restore" ,
1212 "lint:md" : " markdownlint \" **/*.md\" --config .markdownlint.json" ,
13+ "lint:md:en" : " markdownlint \" en/**/*.md\" --config .markdownlint.json" ,
14+ "lint:md:jp" : " markdownlint \" jp/**/*.md\" --config .markdownlint.json" ,
1315 "lint:md:fix" : " markdownlint \" **/*.md\" --config .markdownlint.json --fix" ,
1416 "spellcheck" : " cspell \" en/**/*.md\" " ,
1517 "spellcheck:jp" : " cspell \" jp/**/*.md\" " ,
16- "verify" : " npm run spellcheck && npm run lint:md -- \" en/**/*.md \" " ,
17- "verify:jp" : " npm run spellcheck:jp && npm run lint:md -- \" jp/**/*.md \" "
18+ "verify" : " npm run spellcheck && npm run lint:md:en " ,
19+ "verify:jp" : " npm run spellcheck:jp && npm run lint:md:jp "
1820 },
1921 "author" : " Infragistics" ,
2022 "license" : " ISC" ,
You can’t perform that action at this time.
0 commit comments