Browse Source

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
research/notification-plugin-enhancement
Matthew Raymer 21 hours ago
parent
commit
38e450de03
  1. 5
      package.json

5
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",

Loading…
Cancel
Save