Skip to content

Commit

Permalink
chore(specs): update CI jobs to use new lint scripts and unsilence li…
Browse files Browse the repository at this point in the history
…nks linter
  • Loading branch information
protolambda committed Jul 17, 2022
1 parent 03a4ba5 commit 0d02fd1
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
8 changes: 5 additions & 3 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -273,14 +273,16 @@ jobs:
image: ubuntu-2004:202111-02
steps:
- checkout
- run:
name: specs toc
command: yarn lint:specs:toc && git diff --exit-code
- run:
name: markdown lint
command: |
docker run -v `pwd`:/workdir davidanson/markdownlint-cli2:0.4.0 "op-node/README.md" "./specs/**/*.md" "#**/node_modules"
command: yarn lint:specs:check
- run:
name: link lint
command: |
docker run --init -it -v `pwd`:/input lycheeverse/lychee --verbose --no-progress --exclude-loopback --exclude twitter.com --exclude-mail /input/README.md "/input/specs/**/*.md" "/input/meta/**/*.md" "/input/op-node/**/*.md" || exit 0
docker run --init -it -v `pwd`:/input lycheeverse/lychee --verbose --no-progress --exclude-loopback --exclude twitter.com --exclude-mail /input/README.md "/input/specs/**/*.md"
fuzz-op-node:
docker:
Expand Down
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,9 @@
"lint:ts:check": "yarn lerna run lint:ts:check",
"lint:check": "yarn lerna run lint:check",
"lint:fix": "yarn lerna run lint:fix --parallel",
"lint:specs:fix": "markdownlint-cli2-fix \\\"./specs/**/*.md\\\"",
"lint:specs:check": "markdownlint-cli2 \\\"./specs/**/*.md\\\"",
"lint:specs:toc": "doctoc '--title=**Table of Contents**' ./specs",
"lint:specs:fix": "yarn run markdownlint-cli2-fix \\\"./specs/**/*.md\\\"",
"lint:specs:check": "yarn run markdownlint-cli2 \\\"./specs/**/*.md\\\"",
"lint:specs:toc": "yarn run doctoc '--title=**Table of Contents**' ./specs",
"postinstall": "patch-package",
"ready": "yarn lint && yarn test",
"prepare": "husky install",
Expand Down

0 comments on commit 0d02fd1

Please sign in to comment.