Skip to content

Commit 7e9c0a7

Browse files
committed
linting
1 parent f778933 commit 7e9c0a7

File tree

2 files changed

+11
-2
lines changed

2 files changed

+11
-2
lines changed

.github/workflows/validate.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,9 @@ jobs:
2121
uses: ./.github/actions/setup
2222

2323
- name: Basic Checks
24-
run: pnpm check
24+
run: |
25+
pnpm check
26+
pnpm lint
2527
2628
builds:
2729
name: Builds

package.json

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,14 @@
99
"check": "check && pnpm -r --sequential run check",
1010
"test": "pnpm -r --sequential run test run",
1111
"test:coverage": "pnpm -r --sequential run test:coverage",
12-
"markdownlint": "markdownlint '**/*.md' -i ./docs --fix || true && markdownlint --config .markdownlint.docs.json 'docs/**/*.md' --fix || true",
12+
"lint:prettier": "prettier --check .",
13+
"lint:docs": "markdownlint --config .markdownlint.docs.json 'docs/**/*.md'",
14+
"lint:md": "markdownlint '**/*.md' -i ./docs",
15+
"lint:markdown": "pnpm run lint:docs && pnpm run lint:md",
16+
"format:markdown": "pnpm run lint:markdown --fix",
17+
"format:prettier": "prettier --write .",
18+
"lint": "pnpm run lint:prettier && pnpm run lint:markdown",
19+
"format": "pnpm run format:prettier && pnpm run format:markdown",
1320
"prepare": "simple-git-hooks",
1421
"prepublish": "pnpm -s build",
1522
"docs:gen": "typedoc --options docs/typedoc.json",

0 commit comments

Comments
 (0)