chore: Update markdown validation scripts to exclude node_modules

- Update markdown:check and markdown:fix scripts to only validate project files
- Exclude node_modules from markdown validation to reduce noise
- Focus validation on doc/*.md and root *.md files only

Resolves: Markdown validation noise from external dependencies
This commit is contained in:
Matthew Raymer
2025-08-26 12:05:05 +00:00
parent 3d7a53cb74
commit 38e450de03

View File

@@ -12,7 +12,9 @@
"prepublishOnly": "npm run build", "prepublishOnly": "npm run build",
"test": "jest", "test": "jest",
"lint": "eslint . --ext .ts", "lint": "eslint . --ext .ts",
"format": "prettier --write \"src/**/*.ts\"" "format": "prettier --write \"src/**/*.ts\"",
"markdown:check": "markdownlint-cli2 \"doc/*.md\" \"*.md\"",
"markdown:fix": "markdownlint-cli2 --fix \"doc/*.md\" \"*.md\""
}, },
"keywords": [ "keywords": [
"capacitor", "capacitor",
@@ -39,6 +41,7 @@
"jest": "^29.5.0", "jest": "^29.5.0",
"jest-environment-jsdom": "^30.0.5", "jest-environment-jsdom": "^30.0.5",
"jsdom": "^26.1.0", "jsdom": "^26.1.0",
"markdownlint-cli2": "^0.18.1",
"prettier": "^2.8.7", "prettier": "^2.8.7",
"rimraf": "^4.4.0", "rimraf": "^4.4.0",
"rollup": "^3.20.0", "rollup": "^3.20.0",