From 010d90c221890a8ab34721633feb14f5301f05a8 Mon Sep 17 00:00:00 2001 From: Dan Barr Date: Tue, 7 Jan 2025 16:53:42 -0500 Subject: [PATCH] Move the markdownlint-cli2 config to a file --- .markdownlint-cli2.jsonc | 4 ++++ package.json | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) create mode 100644 .markdownlint-cli2.jsonc diff --git a/.markdownlint-cli2.jsonc b/.markdownlint-cli2.jsonc new file mode 100644 index 0000000..1861d63 --- /dev/null +++ b/.markdownlint-cli2.jsonc @@ -0,0 +1,4 @@ +{ + "gitignore": true, + "globs": ["**/*.md"], +} diff --git a/package.json b/package.json index be223bf..be3149f 100644 --- a/package.json +++ b/package.json @@ -9,8 +9,8 @@ "docusaurus": "docusaurus", "eslint": "eslint .", "eslint:fix": "eslint . --fix", - "markdownlint": "markdownlint-cli2 '**/*.md' '#node_modules'", - "markdownlint:fix": "markdownlint-cli2 '**/*.md' '#node_modules' --fix", + "markdownlint": "markdownlint-cli2", + "markdownlint:fix": "markdownlint-cli2 --fix", "prepare": "husky", "prettier": "prettier . --check", "prettier:fix": "prettier . --write",