Skip to content

Commit c1bae58

Browse files
committed
style: avoid formatting after each gen command
1 parent 9e6b171 commit c1bae58

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

.github/workflows/pipeline.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,12 +42,12 @@ jobs:
4242
- name: Lint code
4343
run: npm run lint
4444

45-
- name: Check format
46-
run: npm run format:check
47-
4845
- name: Check autogenerated docs
4946
run: npm run docs:gen && git diff --exit-code
5047

48+
- name: Check format
49+
run: npm run format:check
50+
5151
tests:
5252
name: Tests (Node v${{ matrix.node }} - ESLint v${{ matrix.eslint }})
5353
runs-on: ubuntu-latest

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,8 @@
3535
"lint:fix": "npm run lint -- --fix",
3636
"rule-doc-generator": "eslint-doc-generator --path-rule-list \"../README.md\" --path-rule-doc \"../docs/rules/{name}.md\" --url-rule-doc \"docs/rules/{name}.md\" dist/",
3737
"docs:gen": "npm-run-all \"docs:gen:*\"",
38-
"docs:gen:configs": "ts-node tools/generate-configs && npm run format",
39-
"docs:gen:rules-list": "npm run build && npm run rule-doc-generator && npm run format",
38+
"docs:gen:configs": "ts-node tools/generate-configs",
39+
"docs:gen:rules-list": "npm run build && npm run rule-doc-generator",
4040
"prepare": "is-ci || husky install",
4141
"semantic-release": "semantic-release",
4242
"test": "jest",

0 commit comments

Comments
 (0)