From 32066d416dbbac11a3610663c13ea5a45af0a5f0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Oleksis=20Fraga=20Men=C3=A9ndez?= Date: Wed, 4 Oct 2023 00:39:35 -0400 Subject: [PATCH] Add pre-commit feature to devcontainer Fixes #15 --- .devcontainer/devcontainer.json | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index 6977718..9fe6b87 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -6,7 +6,9 @@ "image": "mcr.microsoft.com/devcontainers/jekyll:2-bullseye", // Features to add to the dev container. More info: https://containers.dev/features. - // "features": {}, + "features": { + "ghcr.io/devcontainers-contrib/features/pre-commit:2": {} + }, // Use 'forwardPorts' to make a list of ports inside the container available locally. "forwardPorts": [