mirror of
https://github.com/sigp/lighthouse.git
synced 2026-03-03 00:31:50 +00:00
Update mdlint to disable descriptive-link-text (#7481)
Update the mdlint CI to ignore a newly introduced lint which is overly strict (IMO). Example failure: https://github.com/sigp/lighthouse/actions/runs/15102688734/job/42446029011?pr=7479 Ignore the new lint that requires link text to be descriptive. IMO it is completely fine to write links like `See docs [here](http://url.com)`.
This commit is contained in:
@@ -5,7 +5,8 @@
|
||||
# Run `make mdlint` from the root of the repository instead.
|
||||
|
||||
# use markdownlint-cli to check for markdown files
|
||||
docker run --rm -v ./book:/workdir ghcr.io/igorshubovych/markdownlint-cli:latest '**/*.md' --ignore node_modules
|
||||
# NOTE: we disable MD059 (descriptive-link-text) because it is too strict
|
||||
docker run --rm -v ./book:/workdir ghcr.io/igorshubovych/markdownlint-cli:latest '**/*.md' --ignore node_modules --disable MD059
|
||||
|
||||
# exit code
|
||||
exit_code=$(echo $?)
|
||||
|
||||
Reference in New Issue
Block a user