Skip to main content
Module

x/wcarbon/.git-hooks/pre-commit

CLI tool for Website Carbon's API
Go to Latest
File
#!/usr/bin/env bash
# Configure the hook with these options.HOOK_DEBUG=0 # Set to 1 to enable debug mode. This will print additional output.HOOK_DISABLE_NOTICE=0 # Set to 1 to disable the notice when the hook exits with an error code.
# Import the git-hooked wrapper to prepare the env and execute the script below.. "$(dirname "$0")/_util/git-hooked.sh"
echo "Running deno lint"deno lint
echo "Running deno fmt"deno fmt
exit 0