From 27c41899f2db6822b8ac7c119c0bd387a10ee710 Mon Sep 17 00:00:00 2001 From: ctcpip Date: Wed, 14 Jun 2023 01:01:05 -0500 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=A7=20move=20markdownlint=20config=20s?= =?UTF-8?q?o=20editors=20will=20pick=20it=20up?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: ctcpip --- .github/workflows/linter.yml | 2 ++ .github/linters/.markdown-lint.yml => .markdownlint.yml | 0 package.json | 2 +- 3 files changed, 3 insertions(+), 1 deletion(-) rename .github/linters/.markdown-lint.yml => .markdownlint.yml (100%) diff --git a/.github/workflows/linter.yml b/.github/workflows/linter.yml index a87b8d49..b7777f06 100644 --- a/.github/workflows/linter.yml +++ b/.github/workflows/linter.yml @@ -49,3 +49,5 @@ jobs: DEFAULT_BRANCH: main GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} VALIDATE_MARKDOWN: true + LINTER_RULES_PATH: / + MARKDOWN_CONFIG_FILE: .markdownlint.yml diff --git a/.github/linters/.markdown-lint.yml b/.markdownlint.yml similarity index 100% rename from .github/linters/.markdown-lint.yml rename to .markdownlint.yml diff --git a/package.json b/package.json index 7adeb496..5be30e44 100644 --- a/package.json +++ b/package.json @@ -3,7 +3,7 @@ "version": "1.0.0", "description": "OpenSSF Repository for the Best Practices for OSS Developers WG", "scripts": { - "format": "npx prettier --write . && npx markdownlint --fix '**/*.md' --ignore node_modules --config .github/linters/.markdown-lint.yml" + "format": "npx prettier --write . && npx markdownlint --fix '**/*.md' --ignore node_modules" }, "repository": { "type": "git",