Skip to content

Commit 71e7e29

Browse files
committed
chore: update gen commands
1 parent 354a294 commit 71e7e29

File tree

3 files changed

+7
-5
lines changed

3 files changed

+7
-5
lines changed

.github/workflows/verifications.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
'lint',
1919
'type-check',
2020
'format:check',
21-
'generate-all:check',
21+
'validate-gen-all',
2222
'bundle-check',
2323
]
2424
steps:

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ each rule has three files named with its identifier (e.g. `no-debugging-utils`):
6363
6464
Additionally, you need to do a couple of extra things:
6565
66-
- Run `pnpm run generate:rules-doc` to include your rule in the "Supported Rules" table within the [README.md](./README.md)
66+
- Run `pnpm run generate:docs` to include your rule in the "Supported Rules" table within the [README.md](./README.md)
6767
6868
### Custom rule creator
6969

package.json

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,16 +33,18 @@
3333
"build": "tsdown lib/index.ts --format esm --format cjs",
3434
"bundle-check": "pnpm run build && publint",
3535
"generate-all": "pnpm run --parallel \"/^generate:.*/\"",
36-
"generate-all:check": "pnpm run generate-all && git diff --exit-code",
36+
"validate-gen-all": "pnpm run --parallel \"/^validate-gen:.*/\"",
3737
"generate:configs": "tsx tools/generate-configs",
38-
"generate:rules-doc": "pnpm run build && pnpm run rule-doc-generator",
38+
"validate-gen:configs": "pnpm run generate:configs && git diff --exit-code lib/configs",
39+
"generate:docs": "pnpm run build && pnpm run eslint-doc-generator",
40+
"validate-gen:docs": "pnpm run generate:docs && pnpm run eslint-doc-generator --check",
3941
"format": "pnpm run prettier-base --write",
4042
"format:check": "pnpm run prettier-base --check",
4143
"lint": "eslint --max-warnings 0 .",
4244
"lint:fix": "pnpm run lint --fix",
4345
"prepare": "husky || true",
4446
"prettier-base": "prettier . --ignore-unknown --cache --log-level warn",
45-
"rule-doc-generator": "eslint-doc-generator",
47+
"eslint-doc-generator": "eslint-doc-generator",
4648
"semantic-release": "semantic-release",
4749
"test": "vitest run",
4850
"test:ci": "vitest run --coverage",

0 commit comments

Comments
 (0)