diff options
| author | 2021-10-23 13:43:24 +0200 | |
|---|---|---|
| committer | 2021-10-23 13:43:24 +0200 | |
| commit | acbba9adb2e362079ce1fb84be1868b198cc1da0 (patch) | |
| tree | eeeaa9e522f82a9f8f9baaef3b6bd23950eab71a /package.json | |
| parent | dd02c79092aa25cacff1c831815e9ca02b06b620 (diff) | |
Improved markdownlint (#3918)
* Improved markdownlint
* Relaxed rules slighlty
* `npm run markdownlint` for automatic tests
* `npm run markdownlint_fix` for automatic syntax fixing
* Applied the fixes on all our Markdown files
Diffstat (limited to 'package.json')
| -rw-r--r-- | package.json | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/package.json b/package.json index 4ae01c19a..d20d6e860 100644 --- a/package.json +++ b/package.json @@ -21,11 +21,13 @@ "scripts": { "eslint": "eslint --ext .js .", "eslint_fix": "eslint --fix --ext .js .", + "markdownlint": "markdownlint '**/*.md'", + "markdownlint_fix": "markdownlint --fix '**/*.md'", "rtlcss": "rtlcss -d p/themes && find . -type f -name '*.rtl.rtl.css' -delete", "stylelint": "stylelint '**/*.css' && stylelint --syntax scss '**/*.scss'", "stylelint_fix": "stylelint --fix '**/*.css' && stylelint --fix --syntax scss '**/*.scss'", - "test": "npm run eslint && npm run stylelint", - "fix": "npm run rtlcss && npm run stylelint_fix && npm run eslint_fix" + "test": "npm run eslint && npm run stylelint && npm run markdownlint", + "fix": "npm run rtlcss && npm run stylelint_fix && npm run eslint_fix && npm run markdownlint_fix" }, "devDependencies": { "eslint": "^7.32.0", @@ -33,6 +35,7 @@ "eslint-plugin-import": "^2.24.2", "eslint-plugin-node": "^11.1.0", "eslint-plugin-promise": "^5.1.0", + "markdownlint-cli": "^0.29.0", "rtlcss": "^3.4.0", "stylelint": "^13.13.1", "stylelint-config-recommended-scss": "^4.3.0", |
