Skip to content

Commit 152a0cc

Browse files
authored
Remove shellcheck linting (#2483)
1 parent 250ab8a commit 152a0cc

File tree

7 files changed

+0
-33
lines changed

7 files changed

+0
-33
lines changed

.github/scripts/generate-release-contributors.sh

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
#!/bin/bash -e
22

3-
# shellcheck disable=SC2016
4-
# shellcheck disable=SC2086
5-
63
# this should be run on the release branch
74

85
# NOTE if you need to run this script locally, you will need to first:

.github/workflows/build-common.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -135,6 +135,3 @@ jobs:
135135

136136
markdown-lint-check:
137137
uses: ./.github/workflows/reusable-markdown-lint.yml
138-
139-
shell-script-check:
140-
uses: ./.github/workflows/reusable-shell-script-check.yml

.github/workflows/reusable-shell-script-check.yml

Lines changed: 0 additions & 19 deletions
This file was deleted.

.mise/tasks/lint/.shellcheckrc

Lines changed: 0 additions & 3 deletions
This file was deleted.

.mise/tasks/lint/links-in-modified-files.sh

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ if [ "$usage_head" = "''" ]; then
1212
fi
1313

1414
# Check if lychee config was modified
15-
# shellcheck disable=SC2086
1615
# - because usage_head may be empty
1716
config_modified=$(git diff --name-only --merge-base "$usage_base" $usage_head \
1817
| grep -E '^(\.github/config/lychee\.toml|\.mise/tasks/lint/.*|mise\.toml)$' || true)
@@ -23,7 +22,6 @@ if [ -n "$config_modified" ] ; then
2322
else
2423
# Using lychee's default extension filter here to match when it runs against all files
2524
# Note: --diff-filter=d filters out deleted files
26-
# shellcheck disable=SC2086
2725
# - because usage_head may be empty
2826
modified_files=$(git diff --name-only --diff-filter=d "$usage_base" $usage_head \
2927
| grep -E '\.(md|mkd|mdx|mdown|mdwn|mkdn|mkdown|markdown|html|htm|txt)$' \
@@ -34,7 +32,6 @@ else
3432
exit 0
3533
fi
3634

37-
# shellcheck disable=SC2086
3835
mise run lint:links $modified_files
3936
fi
4037

.mise/tasks/lint/links.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,4 @@ for f in $usage_file; do
99
echo "Checking links in file: $f"
1010
done
1111

12-
# shellcheck disable=SC2086
1312
lychee --verbose --config .github/config/lychee.toml $usage_file

.mise/tasks/lint/local-links.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,4 @@ for f in $usage_file; do
99
echo "Checking links in file: $f"
1010
done
1111

12-
# shellcheck disable=SC2086
1312
lychee --verbose --scheme file --include-fragments --config .github/config/lychee.toml $usage_file

0 commit comments

Comments
 (0)