Skip to content

Commit 372cdc6

Browse files
RFC8813 is not referrable from the CLI as a valid lint source (#879)
1 parent caa62ac commit 372cdc6

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

v3/lint/source.go

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ func (s *LintSource) UnmarshalJSON(data []byte) error {
5353
}
5454

5555
switch LintSource(throwAway) {
56-
case RFC5280, RFC5480, RFC5891, CABFBaselineRequirements, CABFEVGuidelines, CABFSMIMEBaselineRequirements, MozillaRootStorePolicy, AppleRootStorePolicy, Community, EtsiEsi, RFC6962:
56+
case RFC8813, RFC5280, RFC5480, RFC5891, CABFBaselineRequirements, CABFEVGuidelines, CABFSMIMEBaselineRequirements, MozillaRootStorePolicy, AppleRootStorePolicy, Community, EtsiEsi, RFC6962:
5757
*s = LintSource(throwAway)
5858
return nil
5959
default:
@@ -77,6 +77,8 @@ func (s *LintSource) FromString(src string) {
7777
*s = RFC5480
7878
case RFC5891:
7979
*s = RFC5891
80+
case RFC8813:
81+
*s = RFC8813
8082
case CABFBaselineRequirements:
8183
*s = CABFBaselineRequirements
8284
case CABFEVGuidelines:

0 commit comments

Comments
 (0)