File tree Expand file tree Collapse file tree 2 files changed +1
-36
lines changed Expand file tree Collapse file tree 2 files changed +1
-36
lines changed Original file line number Diff line number Diff line change 74
74
name : Lint Markdown files
75
75
command : pnpm lint
76
76
77
- # links:
78
- # executor: rust
79
- # steps:
80
- # - checkout:
81
- # path: docs
82
- # - run:
83
- # name: Checkout lycheeverse/lychee
84
- # command: |
85
- # git clone https://github.com/lycheeverse/lychee.git lychee
86
-
87
- # - restore_cache:
88
- # keys:
89
- # - v1-rust-cache-{{ checksum "lychee/Cargo.lock" }}
90
- # - v1-rust-cache-
91
-
92
- # - run:
93
- # name: Build Lychee
94
- # command: |
95
- # cd lychee
96
- # cargo build --release
97
-
98
- # - save_cache:
99
- # key: v1-rust-cache-{{ checksum "lychee/Cargo.lock" }}
100
- # paths:
101
- # - ~/.cargo/registry
102
- # - ~/.cargo/git
103
- # - lychee/target
104
-
105
- # - run:
106
- # name: Run Lychee link checker
107
- # command: |
108
- # export PATH=$PATH:$HOME/project/lychee/target/release
109
- # cd docs
110
- # lychee --config ./lychee.toml --quiet "./pages"
111
-
112
77
links :
113
78
executor : ubuntu
114
79
steps :
Original file line number Diff line number Diff line change 3
3
"version" : " 0.0.1" ,
4
4
"description" : " Optimism Docs" ,
5
5
"scripts" : {
6
- "lint" : " eslint . --ext mdx --max-warnings 0 && pnpm spellcheck:lint && pnpm check-breadcrumbs && pnpm check-redirects" ,
6
+ "lint" : " eslint . --ext mdx --max-warnings 0 && pnpm spellcheck:lint && pnpm check-breadcrumbs && pnpm check-redirects && pnpm linkfix " ,
7
7
"fix" : " eslint . --ext mdx --fix && pnpm spellcheck:fix && pnpm breadcrumbs && pnpm fix-redirects" ,
8
8
"spellcheck:lint" : " cspell lint \" **/*.mdx\" " ,
9
9
"spellcheck:fix" : " cspell --words-only --unique \" **/*.mdx\" | sort --ignore-case | uniq > words.txt" ,
You can’t perform that action at this time.
0 commit comments