Skip to content

Commit 42eb818

Browse files
dependabot[bot]ferrarimarco
authored andcommitted
chore(deps): bump super-linter/super-linter from 6.9.0 to 8.5.0
Bumps [super-linter/super-linter](https://github.com/super-linter/super-linter) from 6.9.0 to 8.5.0. - [Release notes](https://github.com/super-linter/super-linter/releases) - [Changelog](https://github.com/super-linter/super-linter/blob/main/CHANGELOG.md) - [Commits](super-linter/super-linter@v6.9.0...v8.5.0) --- updated-dependencies: - dependency-name: super-linter/super-linter dependency-version: 8.5.0 dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
1 parent 3e35af1 commit 42eb818

File tree

15 files changed

+175
-65
lines changed

15 files changed

+175
-65
lines changed

.config/Code/User/settings.json

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,7 @@
1212
},
1313
"editor.renderControlCharacters": true,
1414
"editor.renderWhitespace": "all",
15-
"editor.rulers": [
16-
80,
17-
100,
18-
120,
19-
200,
20-
250
21-
],
15+
"editor.rulers": [80, 100, 120, 200, 250],
2216
"editor.suggest.insertMode": "replace",
2317
"editor.tabSize": 2,
2418
"editor.wordWrap": "off",
@@ -38,10 +32,7 @@
3832
"html.format.indentInnerHtml": true,
3933
"html.format.indentHandlebars": true,
4034
"html.format.wrapAttributes": "force-aligned",
41-
"isort.args": [
42-
"--profile",
43-
"black"
44-
],
35+
"isort.args": ["--profile", "black"],
4536
"java.configuration.updateBuildConfiguration": "automatic",
4637
"markdown.validate.enabled": true,
4738
"python.languageServer": "Default",

.devcontainer/devcontainer.json

Lines changed: 67 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,67 @@
1+
{
2+
"$schema": "https://raw.githubusercontent.com/devcontainers/spec/main/schemas/devContainer.schema.json",
3+
"name": "Super-Linter",
4+
"image": "ghcr.io/super-linter/super-linter:latest",
5+
"customizations": {
6+
"vscode": {
7+
"settings": {
8+
"editor.formatOnSave": true,
9+
"editor.formatOnSaveMode": "file",
10+
"editor.wordWrap": "off",
11+
"explorer.autoReveal": true,
12+
"hadolint.cliOptions": [
13+
"--config",
14+
"/workspaces/super-linter/.github/linters/.hadolint.yaml"
15+
],
16+
"markdownlint.config": {
17+
"extends": "${workspaceFolder}/.github/linters/.markdown-lint.yml"
18+
},
19+
"prettier.resolveGlobalModules": true,
20+
"redhat.telemetry.enabled": false,
21+
"telemetry.telemetryLevel": "off",
22+
"yaml.format.enable": false,
23+
"[javascript]": {
24+
"editor.defaultFormatter": "esbenp.prettier-vscode"
25+
},
26+
"[json]": {
27+
"editor.defaultFormatter": "esbenp.prettier-vscode"
28+
},
29+
"[jsonc]": {
30+
"editor.defaultFormatter": "esbenp.prettier-vscode"
31+
},
32+
"[markdown]": {
33+
"editor.defaultFormatter": "esbenp.prettier-vscode",
34+
"editor.wordWrap": "off"
35+
},
36+
"[shellscript]": {
37+
"editor.defaultFormatter": "mkhl.shfmt"
38+
},
39+
"[yaml]": {
40+
"editor.defaultFormatter": "esbenp.prettier-vscode"
41+
}
42+
},
43+
"extensions": [
44+
"DavidAnson.vscode-markdownlint",
45+
"docker.docker",
46+
"EditorConfig.EditorConfig",
47+
"esbenp.prettier-vscode",
48+
"exiasr.hadolint",
49+
"GitHub.vscode-github-actions",
50+
"mads-hartmann.bash-ide-vscode",
51+
"mkhl.shfmt",
52+
"ms-azuretools.vscode-containers",
53+
"redhat.vscode-yaml",
54+
"timonwong.shellcheck"
55+
]
56+
}
57+
},
58+
"runArgs": [
59+
"--env-file",
60+
".github/linters/super-linter.env",
61+
"--name",
62+
"ferrarimarco-dotfiles-dev",
63+
"--rm",
64+
"--env",
65+
"RUN_LOCAL=true"
66+
]
67+
}

.editorconfig

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,3 +29,7 @@ spaces_around_brackets = false
2929
[{Makefile,**.mk,go.mod,go.sum,*.go,.gitmodules}]
3030
indent_size = 4
3131
indent_style = tab
32+
33+
[*.{md}]
34+
# Prettier takes care of setting the indent size
35+
indent_size = unset

.git-hooks/commit-msg.d/100-gerrit-commit-msg

Lines changed: 27 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -21,55 +21,57 @@
2121
set -u
2222

2323
# avoid [[ which is not POSIX sh.
24-
if test "$#" != 1 ; then
24+
if test "$#" != 1; then
2525
echo "$0 requires an argument."
2626
exit 1
2727
fi
2828

29-
if test ! -f "$1" ; then
29+
if test ! -f "$1"; then
3030
echo "file does not exist: $1"
3131
exit 1
3232
fi
3333

3434
# Do not create a change id if requested
3535
case "$(git config --get gerrit.createChangeId)" in
36-
false)
36+
false)
37+
exit 0
38+
;;
39+
always) ;;
40+
*)
41+
# Do not create a change id for squash/fixup commits.
42+
if head -n1 "$1" | LC_ALL=C grep -q '^[a-z][a-z]*! '; then
3743
exit 0
38-
;;
39-
always)
40-
;;
41-
*)
42-
# Do not create a change id for squash/fixup commits.
43-
if head -n1 "$1" | LC_ALL=C grep -q '^[a-z][a-z]*! '; then
44-
exit 0
45-
fi
46-
;;
44+
fi
45+
;;
4746
esac
4847

49-
5048
if git rev-parse --verify HEAD >/dev/null 2>&1; then
5149
refhash="$(git rev-parse HEAD)"
5250
else
5351
refhash="$(git hash-object -t tree /dev/null)"
5452
fi
5553

56-
random=$({ git var GIT_COMMITTER_IDENT ; echo "$refhash" ; cat "$1"; } | git hash-object --stdin)
54+
random=$({
55+
git var GIT_COMMITTER_IDENT
56+
echo "$refhash"
57+
cat "$1"
58+
} | git hash-object --stdin)
5759
dest="$1.tmp.${random}"
5860

5961
trap 'rm -f "$dest" "$dest-2"' EXIT
6062

61-
if ! sed -e '/>8/q' "$1" | git stripspace --strip-comments > "${dest}" ; then
63+
if ! sed -e '/>8/q' "$1" | git stripspace --strip-comments >"${dest}"; then
6264
echo "cannot strip comments from $1"
6365
exit 1
6466
fi
6567

66-
if test ! -s "${dest}" ; then
68+
if test ! -s "${dest}"; then
6769
echo "file is empty: $1"
6870
exit 1
6971
fi
7072

7173
reviewurl="$(git config --get gerrit.reviewUrl)"
72-
if test -n "${reviewurl}" ; then
74+
if test -n "${reviewurl}"; then
7375
token="Link"
7476
value="${reviewurl%/}/id/I$random"
7577
pattern=".*/id/I[0-9a-f]\{40\}"
@@ -79,16 +81,16 @@ else
7981
pattern=".*"
8082
fi
8183

82-
if git interpret-trailers --no-divider --parse < "$1" | grep -q "^$token: $pattern$" ; then
84+
if git interpret-trailers --no-divider --parse <"$1" | grep -q "^$token: $pattern$"; then
8385
exit 0
8486
fi
8587

8688
# There must be a Signed-off-by trailer for the code below to work. Insert a
8789
# sentinel at the end to make sure there is one.
8890
# Avoid the --in-place option which only appeared in Git 2.8
8991
if ! git interpret-trailers \
90-
--no-divider \
91-
--trailer "Signed-off-by: SENTINEL" < "$1" > "$dest-2" ; then
92+
--no-divider \
93+
--trailer "Signed-off-by: SENTINEL" <"$1" >"$dest-2"; then
9294
echo "cannot insert Signed-off-by sentinel line in $1"
9395
exit 1
9496
fi
@@ -99,15 +101,15 @@ fi
99101
# Avoid the --in-place option which only appeared in Git 2.8
100102
# Avoid the --where option which only appeared in Git 2.15
101103
if ! git -c trailer.where=before interpret-trailers \
102-
--no-divider \
103-
--trailer "Signed-off-by: $token: $value" < "$dest-2" |
104-
sed -e "s/^Signed-off-by: \($token: \)/\1/" \
105-
-e "/^Signed-off-by: SENTINEL/d" > "$dest" ; then
104+
--no-divider \
105+
--trailer "Signed-off-by: $token: $value" <"$dest-2" |
106+
sed -e "s/^Signed-off-by: \($token: \)/\1/" \
107+
-e "/^Signed-off-by: SENTINEL/d" >"$dest"; then
106108
echo "cannot insert $token line in $1"
107109
exit 1
108110
fi
109111

110-
if ! mv "${dest}" "$1" ; then
112+
if ! mv "${dest}" "$1"; then
111113
echo "cannot mv ${dest} to $1"
112114
exit 1
113115
fi

.gitconfig

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ remotes = remote -v
5858
# Amend the currently staged files to the latest commit
5959
amend = commit --amend --reuse-message=HEAD
6060

61-
# Count commits on a given branch since branching off another branche (defaults to main)
61+
# Count commits on a given branch since branching off another branch (defaults to main)
6262
count-since-branch = "!c() { git rev-list ${1:-\"main\"}.. --count; }; c"
6363

6464
# Credit an author on the latest commit
@@ -190,7 +190,7 @@ ff = only
190190

191191
[push]
192192

193-
# change to maching for machines with older versions of git 1.x.x
193+
# change to matching for machines with older versions of git 1.x.x
194194
default = simple
195195

196196
[safe]
@@ -206,13 +206,13 @@ bareRepository = explicit
206206
# Ref: https://git-scm.com/docs/git-config#Documentation/git-config.txt-statussubmoduleSummary
207207
submoduleSummary = true
208208

209-
# Don't use unsecure protocols to access GitHub
209+
# Don't use insecure protocols to access GitHub
210210
[url "https://github.com/"]
211211

212212
insteadof = git://github.com/
213213
insteadof = http://github.com/
214214

215-
# Don't use unsecure protocols to access GitHub Gists
215+
# Don't use insecure protocols to access GitHub Gists
216216
[url "https://gist.github.com/"]
217217

218218
insteadof = git://gist.github.com/

.github/linters/.codespellrc

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
[codespell]
2+
check-filenames =
3+
check-hidden =
4+
ignore-words-list = iTerm,Suttle
5+
skip = */package-lock.json,*.log,super-linter-output,.git

.github/linters/.markdown-lint.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
---
2+
# yaml-language-server: $schema=https://raw.githubusercontent.com/DavidAnson/markdownlint/refs/heads/main/schema/markdownlint-config-schema.json
3+
extends: "markdownlint/style/prettier"
4+
5+
default: true
6+
7+
# MD060/table-column-style : Table column style
8+
# https://github.com/DavidAnson/markdownlint/blob/main/doc/md060.md
9+
MD060:
10+
style: aligned

.github/linters/super-linter.env

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
ENABLE_GITHUB_ACTIONS_GROUP_TITLE=true
2+
REMOVE_ANSI_COLOR_CODES_FROM_OUTPUT=true
3+
VALIDATE_ALL_CODEBASE=true
4+
VALIDATE_BIOME_FORMAT=false

.github/linters/zizmor.yaml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
---
2+
rules:
3+
# There is a bug with the Dependabot cooldown feature. Disabling this audit
4+
# until the bug is fixed and we enable cooldown again.
5+
# TODO: enable cooldown after the bug is fixed
6+
dependabot-cooldown:
7+
disable: true
8+
# TODO: disable these ignores after we pin versions
9+
unpinned-uses:
10+
ignore:
11+
- dependabot-automation.yaml
12+
- main.yml

.github/workflows/dependabot-automation.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
name: Dependabot automation
33

4-
on: # yamllint disable-line rule:truthy
4+
on: # yamllint disable-line rule:truthy
55
pull_request:
66
types:
77
- opened
@@ -17,7 +17,7 @@ jobs:
1717
PR_URL: ${{github.event.pull_request.html_url}}
1818
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
1919
runs-on: ubuntu-latest
20-
if: github.actor == 'dependabot[bot]'
20+
if: github.event.pull_request.user.login == 'dependabot[bot]'
2121
steps:
2222
- name: Fetch Dependabot metadata
2323
id: metadata

0 commit comments

Comments
 (0)