diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index 30f59a9..b7d7e74 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -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" - } - \ No newline at end of file + "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" +} diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index e6cfa8b..834a332 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -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