From a1872e8b2ab1e024945059fa72dd73bd6e1948f0 Mon Sep 17 00:00:00 2001 From: Francis Charette-Migneault Date: Thu, 18 Apr 2024 00:12:35 -0400 Subject: [PATCH] add remark-lint ignore to npm scripts --- .remarkignore | 2 ++ package.json | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.remarkignore b/.remarkignore index 56d4ad9..fb1251d 100644 --- a/.remarkignore +++ b/.remarkignore @@ -3,6 +3,8 @@ .vscode/ .tox/ .git/ +.github/**/*.yaml +.github/**/*.yml *.egg-info/ build/ dist/ diff --git a/package.json b/package.json index 4c6ab38..da64d8c 100644 --- a/package.json +++ b/package.json @@ -3,8 +3,8 @@ "version": "1.0.0", "scripts": { "test": "npm run check-markdown && npm run check-examples", - "check-markdown": "remark . -f -r .github/remark.yaml", - "format-markdown": "remark . -f -r .github/remark.yaml -o", + "check-markdown": "remark . -f -r .github/remark.yaml -i .remarkignore", + "format-markdown": "remark . -f -r .github/remark.yaml -i .remarkignore -o", "check-examples": "stac-node-validator . --lint --verbose --schemaMap https://stac-extensions.github.io/template/v1.0.0/schema.json=./json-schema/schema.json", "format-examples": "stac-node-validator . --format --schemaMap https://stac-extensions.github.io/template/v1.0.0/schema.json=./json-schema/schema.json" },