From 187c999660918f2fd1ca8e42b84aaeb860408301 Mon Sep 17 00:00:00 2001 From: Jason Desrosiers Date: Sun, 10 Nov 2024 21:21:04 -0800 Subject: [PATCH] Update lint automation --- .github/workflows/ci.yml | 3 ++- package.json | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 92557e7f..e1333190 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -13,7 +13,8 @@ jobs: node-version: latest cache: npm - run: npm ci - - run: npm run lint + - run: npm run lint:js + - run: npm run lint:md - run: npm run build -- specs specs-ietf: diff --git a/package.json b/package.json index 59d407d3..a7a0ed74 100644 --- a/package.json +++ b/package.json @@ -5,7 +5,8 @@ "type": "module", "main": "index.js", "scripts": { - "lint": "eslint . ; remark --no-stdout --frail specs/", + "lint:js": "eslint .", + "lint:md": "remark --no-stdout --frail specs/", "build": "remark --rc-path specs/.remarkrc-build.js --output web/" }, "license": "MIT",