Skip to content

Commit

Permalink
Updating certificate lint template to use the new certificate specifi…
Browse files Browse the repository at this point in the history
…c interface (#772)

* Updating certificate lint template to use new interface

* use tabs instead of space
  • Loading branch information
christopher-henderson committed Nov 19, 2023
1 parent 96a4799 commit 1bb58f0
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions v3/template
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,15 @@ import (
)

func init() {
lint.RegisterLint(&lint.Lint{
Name: "SUBTEST",
Description: "Fill this in...",
Citation: "Fill this in...",
Source: UnknownLintSource,
EffectiveDate: "Change this...",
Lint: func() lint.LintInterface { return &SUBST{} },
lint.RegisterCertificateLint(&lint.CertificateLint{
LintMetadata: lint.LintMetadata{
Name: "SUBTEST",
Description: "Fill this in...",
Citation: "Fill this in...",
Source: UnknownLintSource,
EffectiveDate: "Change this...",
},
Lint: NewPASCAL_CASE_SUBST,
})
}

Expand Down

0 comments on commit 1bb58f0

Please sign in to comment.