Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HuskyAugmenter ¶
type HuskyAugmenter struct {
HuskyOpts *HuskyOptions
}
Adds husky to a GitHub repository.
func (*HuskyAugmenter) Augment ¶
func (a *HuskyAugmenter) Augment() error
Adds husky to a GitHub repository. Exits early if any step fails.
type HuskyOptions ¶
type HuskyOptions struct {
CommitLint *opts.PackageOptions `yaml:"commitlint"`
// Might need to change these to include specific formatters/linters and their versions
Format bool `yaml:"format"`
Lint bool `yaml:"lint"`
}
type TemplateAugmentor ¶
Click to show internal directories.
Click to hide internal directories.