Skip to content

Commit

Permalink
Upgrade markdown-links-check (#2547)
Browse files Browse the repository at this point in the history
* Upgrade markdown-links-check

* [MegaLinter] Apply linters fixes

---------

Co-authored-by: nvuillam <nvuillam@users.noreply.github.com>
  • Loading branch information
nvuillam and nvuillam authored Apr 11, 2023
1 parent 192ad6f commit 4aea9f6
Show file tree
Hide file tree
Showing 16 changed files with 16 additions and 18 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ RUN npm --no-cache install --ignore-scripts --omit=dev \
eslint-plugin-react \
eslint-plugin-jsx-a11y \
markdownlint-cli \
markdown-link-check@3.10.3 \
markdown-link-check \
markdown-table-formatter \
@stoplight/spectral-cli \
secretlint \
Expand Down
2 changes: 1 addition & 1 deletion flavors/cupcake/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ RUN npm --no-cache install --ignore-scripts --omit=dev \
eslint-plugin-react \
eslint-plugin-jsx-a11y \
markdownlint-cli \
markdown-link-check@3.10.3 \
markdown-link-check \
markdown-table-formatter \
secretlint \
@secretlint/secretlint-rule-preset-recommend \
Expand Down
2 changes: 1 addition & 1 deletion flavors/documentation/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ RUN npm --no-cache install --ignore-scripts --omit=dev \
v8r \
prettier \
markdownlint-cli \
markdown-link-check@3.10.3 \
markdown-link-check \
markdown-table-formatter \
@stoplight/spectral-cli \
secretlint \
Expand Down
2 changes: 1 addition & 1 deletion flavors/dotnet/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ RUN npm --no-cache install --ignore-scripts --omit=dev \
npm-package-json-lint \
npm-package-json-lint-config-default \
markdownlint-cli \
markdown-link-check@3.10.3 \
markdown-link-check \
markdown-table-formatter \
@stoplight/spectral-cli \
secretlint \
Expand Down
2 changes: 1 addition & 1 deletion flavors/go/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ RUN npm --no-cache install --ignore-scripts --omit=dev \
v8r \
prettier \
markdownlint-cli \
markdown-link-check@3.10.3 \
markdown-link-check \
markdown-table-formatter \
@stoplight/spectral-cli \
secretlint \
Expand Down
2 changes: 1 addition & 1 deletion flavors/java/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ RUN npm --no-cache install --ignore-scripts --omit=dev \
v8r \
prettier \
markdownlint-cli \
markdown-link-check@3.10.3 \
markdown-link-check \
markdown-table-formatter \
@stoplight/spectral-cli \
secretlint \
Expand Down
2 changes: 1 addition & 1 deletion flavors/javascript/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ RUN npm --no-cache install --ignore-scripts --omit=dev \
eslint-plugin-react \
eslint-plugin-jsx-a11y \
markdownlint-cli \
markdown-link-check@3.10.3 \
markdown-link-check \
markdown-table-formatter \
@stoplight/spectral-cli \
secretlint \
Expand Down
2 changes: 1 addition & 1 deletion flavors/php/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ RUN npm --no-cache install --ignore-scripts --omit=dev \
v8r \
prettier \
markdownlint-cli \
markdown-link-check@3.10.3 \
markdown-link-check \
markdown-table-formatter \
@stoplight/spectral-cli \
secretlint \
Expand Down
2 changes: 1 addition & 1 deletion flavors/python/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ RUN npm --no-cache install --ignore-scripts --omit=dev \
v8r \
prettier \
markdownlint-cli \
markdown-link-check@3.10.3 \
markdown-link-check \
markdown-table-formatter \
@stoplight/spectral-cli \
secretlint \
Expand Down
2 changes: 1 addition & 1 deletion flavors/ruby/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ RUN npm --no-cache install --ignore-scripts --omit=dev \
v8r \
prettier \
markdownlint-cli \
markdown-link-check@3.10.3 \
markdown-link-check \
markdown-table-formatter \
@stoplight/spectral-cli \
secretlint \
Expand Down
2 changes: 1 addition & 1 deletion flavors/rust/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ RUN npm --no-cache install --ignore-scripts --omit=dev \
v8r \
prettier \
markdownlint-cli \
markdown-link-check@3.10.3 \
markdown-link-check \
markdown-table-formatter \
@stoplight/spectral-cli \
secretlint \
Expand Down
2 changes: 1 addition & 1 deletion flavors/salesforce/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ RUN npm --no-cache install --ignore-scripts --omit=dev \
npm-package-json-lint \
npm-package-json-lint-config-default \
markdownlint-cli \
markdown-link-check@3.10.3 \
markdown-link-check \
markdown-table-formatter \
@stoplight/spectral-cli \
secretlint \
Expand Down
2 changes: 1 addition & 1 deletion flavors/swift/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ RUN npm --no-cache install --ignore-scripts --omit=dev \
v8r \
prettier \
markdownlint-cli \
markdown-link-check@3.10.3 \
markdown-link-check \
markdown-table-formatter \
@stoplight/spectral-cli \
secretlint \
Expand Down
2 changes: 1 addition & 1 deletion flavors/terraform/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ RUN npm --no-cache install --ignore-scripts --omit=dev \
v8r \
prettier \
markdownlint-cli \
markdown-link-check@3.10.3 \
markdown-link-check \
markdown-table-formatter \
@stoplight/spectral-cli \
secretlint \
Expand Down
2 changes: 1 addition & 1 deletion linters/markdown_markdown_link_check/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ ENV NODE_OPTIONS="--max-old-space-size=8192" \
#NPM__START
WORKDIR /node-deps
RUN npm --no-cache install --ignore-scripts --omit=dev \
markdown-link-check@3.10.3 && \
markdown-link-check && \
echo "Cleaning npm cache..." \
&& npm cache clean --force || true \
&& echo "Changing owner of node_modules files..." \
Expand Down
4 changes: 1 addition & 3 deletions megalinter/descriptors/markdown.megalinter-descriptor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -114,11 +114,9 @@ linters:
examples:
- "markdown-link-check myfile.md"
- "markdown-link-check -c .markdown-link-check.json myfile.md"
# Unpin once https://github.com/tcort/markdown-link-check/issues/246 is fixed.
downgraded_version: true
install:
npm:
- markdown-link-check@3.10.3
- markdown-link-check
# Markdown table formatter
- linter_name: markdown-table-formatter
is_formatter: true
Expand Down

0 comments on commit 4aea9f6

Please sign in to comment.