From 38e450de037710c251e30665ac65ba58689354b5 Mon Sep 17 00:00:00 2001 From: Matthew Raymer Date: Tue, 26 Aug 2025 12:05:05 +0000 Subject: [PATCH] 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 --- package.json | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index a03ad2c..2a93f08 100644 --- a/package.json +++ b/package.json @@ -12,7 +12,9 @@ "prepublishOnly": "npm run build", "test": "jest", "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": [ "capacitor", @@ -39,6 +41,7 @@ "jest": "^29.5.0", "jest-environment-jsdom": "^30.0.5", "jsdom": "^26.1.0", + "markdownlint-cli2": "^0.18.1", "prettier": "^2.8.7", "rimraf": "^4.4.0", "rollup": "^3.20.0",