Skip to content

Commit 1d699d0

Browse files
committed
Bump super-linter from 5 to 7
1 parent 51ccf14 commit 1d699d0

File tree

10 files changed

+169
-175
lines changed

10 files changed

+169
-175
lines changed
Lines changed: 32 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -1,35 +1,35 @@
11
// For format details, see https://aka.ms/devcontainer.json. For config options, see the
22
// README at: https://github.com/devcontainers/templates/tree/main/src/debian
33
{
4-
"name": "GitHub Actions",
5-
// Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile
6-
"image": "mcr.microsoft.com/devcontainers/base:bullseye",
7-
"features": {
8-
"ghcr.io/devcontainers/features/azure-cli:1": {},
9-
"ghcr.io/devcontainers/features/github-cli:1": {},
10-
"ghcr.io/devcontainers/features/docker-in-docker:2": {},
11-
"ghcr.io/devcontainers/features/dotnet:2": {},
12-
"ghcr.io/devcontainers/features/node:1": {},
13-
"ghcr.io/dhoeric/features/act:1": {}
14-
},
15-
// Features to add to the dev container. More info: https://containers.dev/features.
16-
// "features": {},
17-
// Use 'forwardPorts' to make a list of ports inside the container available locally.
18-
// "forwardPorts": [],
19-
// Configure tool-specific properties.
20-
"customizations": {
21-
// Configure properties specific to VS Code.
22-
"vscode": {
23-
"extensions": [
24-
"github.vscode-github-actions",
25-
"github.vscode-pull-request-github",
26-
"github.copilot",
27-
"redhat.vscode-yaml",
28-
"streetsidesoftware.code-spell-checker"
29-
]
30-
}
31-
},
32-
"postStartCommand": "git config --global --add safe.directory ${containerWorkspaceFolder}"
33-
// Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root.
34-
// "remoteUser": "root"
35-
}
4+
"name": "GitHub Actions",
5+
// Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile
6+
"image": "mcr.microsoft.com/devcontainers/base:bullseye",
7+
"features": {
8+
"ghcr.io/devcontainers/features/azure-cli:1": {},
9+
"ghcr.io/devcontainers/features/github-cli:1": {},
10+
"ghcr.io/devcontainers/features/docker-in-docker:2": {},
11+
"ghcr.io/devcontainers/features/dotnet:2": {},
12+
"ghcr.io/devcontainers/features/node:1": {},
13+
"ghcr.io/dhoeric/features/act:1": {}
14+
},
15+
// Features to add to the dev container. More info: https://containers.dev/features.
16+
// "features": {},
17+
// Use 'forwardPorts' to make a list of ports inside the container available locally.
18+
// "forwardPorts": [],
19+
// Configure tool-specific properties.
20+
"customizations": {
21+
// Configure properties specific to VS Code.
22+
"vscode": {
23+
"extensions": [
24+
"github.vscode-github-actions",
25+
"github.vscode-pull-request-github",
26+
"github.copilot",
27+
"redhat.vscode-yaml",
28+
"streetsidesoftware.code-spell-checker"
29+
]
30+
}
31+
},
32+
"postStartCommand": "git config --global --add safe.directory ${containerWorkspaceFolder}"
33+
// Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root.
34+
// "remoteUser": "root"
35+
}
Lines changed: 35 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -1,39 +1,38 @@
11
// For format details, see https://aka.ms/devcontainer.json. For config options, see the
22
// README at: https://github.com/devcontainers/templates/tree/main/src/ubuntu
33
{
4-
"name": "Slides",
5-
// Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile
6-
"image": "mcr.microsoft.com/devcontainers/base:bullseye",
7-
"features": {
8-
},
9-
// Features to add to the dev container. More info: https://containers.dev/features.
10-
// "features": {},
11-
// Use 'forwardPorts' to make a list of ports inside the container available locally.
12-
// "forwardPorts": [],
13-
// Use 'postCreateCommand' to run commands after the container is created.
14-
// "postCreateCommand": "uname -a",
15-
"postStartCommand": "git config --global --add safe.directory ${containerWorkspaceFolder}",
16-
// Configure tool-specific properties.
17-
"customizations": {
18-
"vscode": {
19-
"settings": {
20-
"markdown.marp.enableHtml": true,
21-
"markdown.marp.themes": [
22-
"./slides/themes/custom.css",
23-
"./slides/themes/custom-default.css",
24-
"./slides/themes/custom-gaia.css",
25-
"./slides/themes/custom-uncover.css"
26-
]
27-
},
28-
"extensions": [
29-
"streetsidesoftware.code-spell-checker",
30-
"yzhang.markdown-all-in-one",
31-
"marp-team.marp-vscode",
32-
"bierner.markdown-mermaid",
33-
"hediet.vscode-drawio"
34-
]
35-
}
36-
}
37-
// Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root.
38-
// "remoteUser": "root"
39-
}
4+
"name": "Slides",
5+
// Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile
6+
"image": "mcr.microsoft.com/devcontainers/base:bullseye",
7+
"features": {},
8+
// Features to add to the dev container. More info: https://containers.dev/features.
9+
// "features": {},
10+
// Use 'forwardPorts' to make a list of ports inside the container available locally.
11+
// "forwardPorts": [],
12+
// Use 'postCreateCommand' to run commands after the container is created.
13+
// "postCreateCommand": "uname -a",
14+
"postStartCommand": "git config --global --add safe.directory ${containerWorkspaceFolder}",
15+
// Configure tool-specific properties.
16+
"customizations": {
17+
"vscode": {
18+
"settings": {
19+
"markdown.marp.enableHtml": true,
20+
"markdown.marp.themes": [
21+
"./slides/themes/custom.css",
22+
"./slides/themes/custom-default.css",
23+
"./slides/themes/custom-gaia.css",
24+
"./slides/themes/custom-uncover.css"
25+
]
26+
},
27+
"extensions": [
28+
"streetsidesoftware.code-spell-checker",
29+
"yzhang.markdown-all-in-one",
30+
"marp-team.marp-vscode",
31+
"bierner.markdown-mermaid",
32+
"hediet.vscode-drawio"
33+
]
34+
}
35+
}
36+
// Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root.
37+
// "remoteUser": "root"
38+
}

.github/dependabot.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
version: 2
77
updates:
8-
- package-ecosystem: "github-actions" # See documentation for possible values
9-
directory: "/" # Location of package manifests
8+
- package-ecosystem: 'github-actions' # See documentation for possible values
9+
directory: '/' # Location of package manifests
1010
schedule:
11-
interval: "weekly"
11+
interval: 'weekly'

.github/linters/.jscpd.json

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,6 @@
11
{
22
"threshold": 5,
3-
"reporters": [
4-
"consoleFull"
5-
],
6-
"ignore": [
7-
"**/__snapshots__/**"
8-
],
3+
"reporters": ["consoleFull"],
4+
"ignore": ["**/__snapshots__/**"],
95
"absolute": true
10-
}
6+
}

.github/linters/.markdown-lint.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -18,19 +18,19 @@
1818
###############
1919
# Rules by id #
2020
###############
21-
MD004: false # Unordered list style
21+
MD004: false # Unordered list style
2222
MD007:
23-
indent: 2 # Unordered list indentation
23+
indent: 2 # Unordered list indentation
2424
MD013:
25-
line_length: 400 # Line length 80 is far too short
26-
MD024: false # Multiple headers with the same content
25+
line_length: 400 # Line length 80 is far too short
26+
MD024: false # Multiple headers with the same content
2727
MD026:
28-
punctuation: ".,;:!。,;:" # List of not allowed
29-
MD029: false # Ordered list item prefix
30-
MD033: false # Allow inline HTML
31-
MD036: false # Emphasis used instead of a heading
28+
punctuation: '.,;:!。,;:' # List of not allowed
29+
MD029: false # Ordered list item prefix
30+
MD033: false # Allow inline HTML
31+
MD036: false # Emphasis used instead of a heading
3232

3333
#################
3434
# Rules by tags #
3535
#################
36-
blank_lines: false # Error on blank lines
36+
blank_lines: false # Error on blank lines

.github/linters/.yaml-lint.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,4 +54,4 @@ rules:
5454
new-line-at-end-of-file: disable
5555
new-lines:
5656
type: unix
57-
trailing-spaces: disable
57+
trailing-spaces: disable

.github/workflows/04-environment-variables2.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,4 +49,3 @@ jobs:
4949
# Runs a single command using the runners shell
5050
- name: Run a one-line script
5151
run: echo "$Greeting, $Name! from $Location"
52-

.vscode/launch.json

Lines changed: 34 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -1,35 +1,35 @@
11
{
2-
"version": "0.2.0",
3-
"configurations": [
4-
{
5-
// Use IntelliSense to find out which attributes exist for C# debugging
6-
// Use hover for the description of the existing attributes
7-
// For further information visit https://github.com/OmniSharp/omnisharp-vscode/blob/master/debugger-launchjson.md
8-
"name": ".NET Core Launch (web)",
9-
"type": "coreclr",
10-
"request": "launch",
11-
"preLaunchTask": "build",
12-
// If you have changed target frameworks, make sure to update the program path.
13-
"program": "${workspaceFolder}/dotnet-sample/bin/Debug/net7.0/dotnet-sample.dll",
14-
"args": [],
15-
"cwd": "${workspaceFolder}/dotnet-sample",
16-
"stopAtEntry": false,
17-
// Enable launching a web browser when ASP.NET Core starts. For more information: https://aka.ms/VSCode-CS-LaunchJson-WebBrowser
18-
"serverReadyAction": {
19-
"action": "openExternally",
20-
"pattern": "\\bNow listening on:\\s+(https?://\\S+)"
21-
},
22-
"env": {
23-
"ASPNETCORE_ENVIRONMENT": "Development"
24-
},
25-
"sourceFileMap": {
26-
"/Views": "${workspaceFolder}/Views"
27-
}
28-
},
29-
{
30-
"name": ".NET Core Attach",
31-
"type": "coreclr",
32-
"request": "attach"
33-
}
34-
]
35-
}
2+
"version": "0.2.0",
3+
"configurations": [
4+
{
5+
// Use IntelliSense to find out which attributes exist for C# debugging
6+
// Use hover for the description of the existing attributes
7+
// For further information visit https://github.com/OmniSharp/omnisharp-vscode/blob/master/debugger-launchjson.md
8+
"name": ".NET Core Launch (web)",
9+
"type": "coreclr",
10+
"request": "launch",
11+
"preLaunchTask": "build",
12+
// If you have changed target frameworks, make sure to update the program path.
13+
"program": "${workspaceFolder}/dotnet-sample/bin/Debug/net7.0/dotnet-sample.dll",
14+
"args": [],
15+
"cwd": "${workspaceFolder}/dotnet-sample",
16+
"stopAtEntry": false,
17+
// Enable launching a web browser when ASP.NET Core starts. For more information: https://aka.ms/VSCode-CS-LaunchJson-WebBrowser
18+
"serverReadyAction": {
19+
"action": "openExternally",
20+
"pattern": "\\bNow listening on:\\s+(https?://\\S+)"
21+
},
22+
"env": {
23+
"ASPNETCORE_ENVIRONMENT": "Development"
24+
},
25+
"sourceFileMap": {
26+
"/Views": "${workspaceFolder}/Views"
27+
}
28+
},
29+
{
30+
"name": ".NET Core Attach",
31+
"type": "coreclr",
32+
"request": "attach"
33+
}
34+
]
35+
}

.vscode/settings.json

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
{
2-
"cSpell.words": [
3-
"azuretools",
4-
"bierner",
5-
"Codebytes",
6-
"devcontainers",
7-
"dhoeric",
8-
"frontmatter",
9-
"marp",
10-
"nektos",
11-
"yzhang"
12-
]
13-
}
2+
"cSpell.words": [
3+
"azuretools",
4+
"bierner",
5+
"Codebytes",
6+
"devcontainers",
7+
"dhoeric",
8+
"frontmatter",
9+
"marp",
10+
"nektos",
11+
"yzhang"
12+
]
13+
}

.vscode/tasks.json

Lines changed: 40 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -1,41 +1,41 @@
11
{
2-
"version": "2.0.0",
3-
"tasks": [
4-
{
5-
"label": "build",
6-
"command": "dotnet",
7-
"type": "process",
8-
"args": [
9-
"build",
10-
"${workspaceFolder}/dotnet-sample/dotnet-sample.csproj",
11-
"/property:GenerateFullPaths=true",
12-
"/consoleloggerparameters:NoSummary"
13-
],
14-
"problemMatcher": "$msCompile"
15-
},
16-
{
17-
"label": "publish",
18-
"command": "dotnet",
19-
"type": "process",
20-
"args": [
21-
"publish",
22-
"${workspaceFolder}/dotnet-sample/dotnet-sample.csproj",
23-
"/property:GenerateFullPaths=true",
24-
"/consoleloggerparameters:NoSummary"
25-
],
26-
"problemMatcher": "$msCompile"
27-
},
28-
{
29-
"label": "watch",
30-
"command": "dotnet",
31-
"type": "process",
32-
"args": [
33-
"watch",
34-
"run",
35-
"--project",
36-
"${workspaceFolder}/dotnet-sample/dotnet-sample.csproj"
37-
],
38-
"problemMatcher": "$msCompile"
39-
}
40-
]
41-
}
2+
"version": "2.0.0",
3+
"tasks": [
4+
{
5+
"label": "build",
6+
"command": "dotnet",
7+
"type": "process",
8+
"args": [
9+
"build",
10+
"${workspaceFolder}/dotnet-sample/dotnet-sample.csproj",
11+
"/property:GenerateFullPaths=true",
12+
"/consoleloggerparameters:NoSummary"
13+
],
14+
"problemMatcher": "$msCompile"
15+
},
16+
{
17+
"label": "publish",
18+
"command": "dotnet",
19+
"type": "process",
20+
"args": [
21+
"publish",
22+
"${workspaceFolder}/dotnet-sample/dotnet-sample.csproj",
23+
"/property:GenerateFullPaths=true",
24+
"/consoleloggerparameters:NoSummary"
25+
],
26+
"problemMatcher": "$msCompile"
27+
},
28+
{
29+
"label": "watch",
30+
"command": "dotnet",
31+
"type": "process",
32+
"args": [
33+
"watch",
34+
"run",
35+
"--project",
36+
"${workspaceFolder}/dotnet-sample/dotnet-sample.csproj"
37+
],
38+
"problemMatcher": "$msCompile"
39+
}
40+
]
41+
}

0 commit comments

Comments
 (0)