Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
33 changes: 16 additions & 17 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -1,18 +1,17 @@
{
"build": {
// instructs devcontainers to use a Dockerfile
// rather than a pre-defined image
"dockerfile": "Dockerfile"
},
"customizations": {
"vscode": {
"extensions": [
"ms-azuretools.vscode-docker", // docker support
"BazelBuild.vscode-bazel" // bazel support
]
}
},
// sets up pre-commit hooks
"postStartCommand": "pre-commit install"
}

"build": {
// instructs devcontainers to use a Dockerfile
// rather than a pre-defined image
"dockerfile": "Dockerfile"
},
"customizations": {
"vscode": {
"extensions": [
"ms-azuretools.vscode-docker", // docker support
"BazelBuild.vscode-bazel" // bazel support
]
}
},
// sets up pre-commit hooks
"postStartCommand": "pre-commit install"
}
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

# Commitizen runs in commit-msg stage
# but we don't want to run the other hooks on commit messages
default_stages: [commit]
default_stages: [pre-commit]

# Use a slightly older version of node by default
# as the default uses a very new version of GLIBC
Expand Down
Loading