Skip to content

Commit

Permalink
add devcontainer
Browse files Browse the repository at this point in the history
  • Loading branch information
toozej committed May 26, 2024
1 parent d38fd21 commit 6997dd0
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 4 deletions.
14 changes: 14 additions & 0 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"name": "Hugo",
"forwardPorts": [
1313
] ,
"image": "mcr.microsoft.com/devcontainers/base:bookworm",
"features": {
"ghcr.io/devcontainers/features/hugo:1": {
"version": "0.126.1",
"extended": true
}
},
"postCreateCommand": "git submodule update --init --recursive"
}
8 changes: 4 additions & 4 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,10 @@ repos:
# name: Attempts to load all json files to verify syntax.
# description: https://github.com/pre-commit/pre-commit-hooks/blob/master/pre_commit_hooks/check_json.py
# files: \.(json)$
#- id: check-toml
# name: Attempts to load all toml files to verify syntax.
# description: https://github.com/pre-commit/pre-commit-hooks/blob/master/pre_commit_hooks/check_toml.py
# files: \.(toml)$
- id: check-toml
name: Attempts to load all toml files to verify syntax.
description: https://github.com/pre-commit/pre-commit-hooks/blob/master/pre_commit_hooks/check_toml.py
files: \.(toml)$
- id: check-yaml
name: Attempts to load all yaml files to verify syntax.
description: https://github.com/pre-commit/pre-commit-hooks/blob/master/pre_commit_hooks/check_yaml.py
Expand Down

0 comments on commit 6997dd0

Please sign in to comment.