{ "id": "pre-commit", "name": "pre-commit", "version": "3.2.1", "documentationURL": "https://github.com/nikaro/features/tree/main/src/pre-commit", "description": "A framework for managing and maintaining multi-language pre-commit hooks.", "options": { "version": { "default": "", "description": "Version to install. If not specified, the latest version will be installed.", "proposals": ["3.3.1"], "type": "string" }, "debug": { "default": false, "description": "Enable debug logging.", "type": "boolean" } }, "postCreateCommand": { "install-hooks": "pre-commit install --install-hooks" }, "mounts": [ { "source": "pre-commit-cache", "target": "/home/vscode/.cache/pre-commit", "type": "volume" } ], "customizations": { "vscode": { "extensions": ["esbenp.prettier-vscode", "redhat.vscode-yaml"], "settings": { "[yaml]": { "editor.defaultFormatter": "esbenp.prettier-vscode", "editor.formatOnSave": true } } } }, "installsAfter": [ "ghcr.io/nikaro/features/packages", "ghcr.io/nikaro/features/python" ] }