Disabled git hooks, fixed npm init settings.

This commit is contained in:
Brian Zalewski 2023-03-18 03:28:21 -04:00
parent a46964bd4b
commit 0595b23ae7
7 changed files with 17 additions and 15 deletions

View file

@ -114,10 +114,10 @@
pull.args = ["--ff-only"]
### Git Template
[".config/git/template/_/husky.sh"]
type = "file"
url = "https://github.com/typicode/husky/raw/main/husky.sh"
refreshPeriod = "{{ $refreshPeriod }}"
# [".config/git/template/_/husky.sh"]
# type = "file"
# url = "https://github.com/typicode/husky/raw/main/husky.sh"
# refreshPeriod = "{{ $refreshPeriod }}"
### GPG
[".gnupg/gpg.conf"]

View file

@ -1,5 +1,13 @@
{{- if (eq .host.distro.family "linux") -}}
{{- if false -}}
#!/usr/bin/env bash
### This script is `if false` blocked out! ###
# This script is disabled until we figure out sensible git hooks for linters / auto-fixers
# that are not too aggressive. Megabyte Labs projects can install git hooks by running
# `bash start.sh`.
#
# To re-enable, add the missing files to the ~/.config/git/template folder, uncomment the templatedir line
# in ~/.config/git/config, and uncomment the Husky script in .chezmoiexternal.toml. Then, move this file to
# the universal folder.
{{ includeTemplate "universal/profile" }}
{{ includeTemplate "universal/logg" }}

View file

@ -124,7 +124,7 @@
autocorrect = 20
[init]
defaultBranch = master
templatedir = ~/.config/git/template
# templatedir = ~/.config/git/template
[interactive]
diffFilter = delta --color-only --features=interactive
[merge]

View file

@ -1 +0,0 @@
Unnamed repository; edit this file 'description' to name the repository.

View file

@ -1,6 +0,0 @@
# git ls-files --others --exclude-from=.git/info/exclude
# Lines that start with '#' are comments.
# For a project mostly in C, the following would be a good set of
# exclude patterns (uncomment them if you want to use them):
# *.[oa]
# *~

View file

@ -1,6 +1,7 @@
cache={{ .host.home }}/.cache/npm
init.license=MIT
init.version=0.0.1
init-author-name "{{ .user.name }} <{{ .user.email }}> ({{ .user.domain }})"
init-license=MIT
init-version=0.0.1
init-module={{ .host.home }}/.config/npm/config/npm-init.js
prefix={{ .host.home }}/.local/share/npm
store-dir={{ .host.home }}/.local/share/pnpm-store