lint/.devcontainer/devcontainer.json
Marco Ferrari ad0ff68c52
fix: correctly load custom linter commands (#6085)
Linters affected:

- actionlint
- Kubeconform
- Perlcritic

Also:

- Update package-lock.json to update some vulnerable dependencies.
- Mount dependency files to where the dependency manager expects them so
  it's easier to update vulnerable dependencies.

Fix #6084
2024-08-30 12:03:08 +02:00

58 lines
1.5 KiB
JSON

{
"name": "Super-Linter",
"image": "ghcr.io/super-linter/super-linter:latest",
"customizations": {
"vscode": {
"settings": {
"editor.defaultFormatter": "esbenp.prettier-vscode",
"editor.wordWrap": "off",
"prettier.resolveGlobalModules": true
},
"extensions": [
"DavidAnson.vscode-markdownlint",
"EditorConfig.EditorConfig",
"esbenp.prettier-vscode",
"GitHub.vscode-github-actions",
"GitHub.vscode-pull-request-github",
"mads-hartmann.bash-ide-vscode",
"mkhl.shfmt",
"ms-azuretools.vscode-docker",
"ms-vscode.makefile-tools",
"timonwong.shellcheck"
]
}
},
"mounts": [
{
"source": "${localWorkspaceFolder}/TEMPLATES",
"target": "/action/lib/.automation",
"type": "bind"
},
{
"source": "${localWorkspaceFolder}/lib",
"target": "/action/lib",
"type": "bind"
},
{
"source": "${localWorkspaceFolder}/dependencies/Gemfile",
"target": "/Gemfile",
"type": "bind"
},
{
"source": "${localWorkspaceFolder}/dependencies/Gemfile.lock",
"target": "/Gemfile.lock",
"type": "bind"
},
{
"source": "${localWorkspaceFolder}/dependencies/package.json",
"target": "/package.json",
"type": "bind"
},
{
"source": "${localWorkspaceFolder}/dependencies/package-lock.json",
"target": "/package-lock.json",
"type": "bind"
}
],
"runArgs": ["--env-file", ".devcontainer/devcontainer.env"]
}