Skip to content

Commit 187c999

Browse files
committed
Update lint automation
1 parent 0a98ed7 commit 187c999

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@ jobs:
1313
node-version: latest
1414
cache: npm
1515
- run: npm ci
16-
- run: npm run lint
16+
- run: npm run lint:js
17+
- run: npm run lint:md
1718
- run: npm run build -- specs
1819

1920
specs-ietf:

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@
55
"type": "module",
66
"main": "index.js",
77
"scripts": {
8-
"lint": "eslint . ; remark --no-stdout --frail specs/",
8+
"lint:js": "eslint .",
9+
"lint:md": "remark --no-stdout --frail specs/",
910
"build": "remark --rc-path specs/.remarkrc-build.js --output web/"
1011
},
1112
"license": "MIT",

0 commit comments

Comments
 (0)