@@ -68,7 +68,7 @@ var configurations = []Type{
68
68
EnableModes : []checkmode.Type {checkmode .All },
69
69
InfoModes : nil ,
70
70
WarningModes : []checkmode.Type {checkmode .Default },
71
- ErrorModes : []checkmode.Type {checkmode .LibraryManagerSubmission , checkmode .LibraryManagerIndexed },
71
+ ErrorModes : []checkmode.Type {checkmode .LibraryManagerSubmission , checkmode .LibraryManagerIndexed , checkmode . Strict },
72
72
CheckFunction : checkfunctions .LibraryPropertiesMissing ,
73
73
},
74
74
{
@@ -187,8 +187,8 @@ var configurations = []Type{
187
187
DisableModes : nil ,
188
188
EnableModes : []checkmode.Type {checkmode .All },
189
189
InfoModes : nil ,
190
- WarningModes : []checkmode.Type {checkmode .All },
191
- ErrorModes : nil ,
190
+ WarningModes : []checkmode.Type {checkmode .Default },
191
+ ErrorModes : []checkmode. Type { checkmode . Strict } ,
192
192
CheckFunction : checkfunctions .LibraryPropertiesNameFieldGTRecommendedLength ,
193
193
},
194
194
{
@@ -217,8 +217,8 @@ var configurations = []Type{
217
217
DisableModes : nil ,
218
218
EnableModes : []checkmode.Type {checkmode .All },
219
219
InfoModes : nil ,
220
- WarningModes : []checkmode.Type {checkmode .All },
221
- ErrorModes : nil ,
220
+ WarningModes : []checkmode.Type {checkmode .Default },
221
+ ErrorModes : []checkmode. Type { checkmode . Strict } ,
222
222
CheckFunction : checkfunctions .LibraryPropertiesNameFieldHasSpaces ,
223
223
},
224
224
{
@@ -260,10 +260,10 @@ var configurations = []Type{
260
260
Description : "Case insensitive" ,
261
261
MessageTemplate : `Library name {{.}} contains "Arduino". This is superfluous.` ,
262
262
DisableModes : []checkmode.Type {checkmode .Official },
263
- EnableModes : []checkmode.Type {checkmode .All },
263
+ EnableModes : []checkmode.Type {checkmode .Default },
264
264
InfoModes : nil ,
265
- WarningModes : []checkmode.Type {checkmode .All },
266
- ErrorModes : nil ,
265
+ WarningModes : []checkmode.Type {checkmode .Default },
266
+ ErrorModes : []checkmode. Type { checkmode . Strict } ,
267
267
CheckFunction : checkfunctions .LibraryPropertiesNameFieldContainsArduino ,
268
268
},
269
269
{
@@ -277,8 +277,8 @@ var configurations = []Type{
277
277
DisableModes : nil ,
278
278
EnableModes : []checkmode.Type {checkmode .All },
279
279
InfoModes : nil ,
280
- WarningModes : []checkmode.Type {checkmode .All },
281
- ErrorModes : nil ,
280
+ WarningModes : []checkmode.Type {checkmode .Default },
281
+ ErrorModes : []checkmode. Type { checkmode . Strict } ,
282
282
CheckFunction : checkfunctions .LibraryPropertiesNameFieldContainsLibrary ,
283
283
},
284
284
{
@@ -367,8 +367,8 @@ var configurations = []Type{
367
367
DisableModes : nil ,
368
368
EnableModes : []checkmode.Type {checkmode .All },
369
369
InfoModes : nil ,
370
- WarningModes : []checkmode.Type {checkmode .All },
371
- ErrorModes : nil ,
370
+ WarningModes : []checkmode.Type {checkmode .Default },
371
+ ErrorModes : []checkmode. Type { checkmode . Strict } ,
372
372
CheckFunction : checkfunctions .LibraryPropertiesVersionFieldNonSemver ,
373
373
},
374
374
{
@@ -442,8 +442,8 @@ var configurations = []Type{
442
442
DisableModes : []checkmode.Type {checkmode .Official },
443
443
EnableModes : []checkmode.Type {checkmode .Default },
444
444
InfoModes : nil ,
445
- WarningModes : []checkmode.Type {checkmode .All },
446
- ErrorModes : nil ,
445
+ WarningModes : []checkmode.Type {checkmode .Default },
446
+ ErrorModes : []checkmode. Type { checkmode . Strict } ,
447
447
CheckFunction : checkfunctions .LibraryPropertiesMaintainerFieldStartsWithArduino ,
448
448
},
449
449
{
@@ -487,8 +487,8 @@ var configurations = []Type{
487
487
DisableModes : []checkmode.Type {checkmode .Official },
488
488
EnableModes : []checkmode.Type {checkmode .Default },
489
489
InfoModes : nil ,
490
- WarningModes : []checkmode.Type {checkmode .All },
491
- ErrorModes : nil ,
490
+ WarningModes : []checkmode.Type {checkmode .Default },
491
+ ErrorModes : []checkmode. Type { checkmode . Strict } ,
492
492
CheckFunction : checkfunctions .LibraryPropertiesEmailFieldStartsWithArduino ,
493
493
},
494
494
{
@@ -577,8 +577,8 @@ var configurations = []Type{
577
577
DisableModes : nil ,
578
578
EnableModes : []checkmode.Type {checkmode .All },
579
579
InfoModes : nil ,
580
- WarningModes : []checkmode.Type {checkmode .All },
581
- ErrorModes : nil ,
580
+ WarningModes : []checkmode.Type {checkmode .Default },
581
+ ErrorModes : []checkmode. Type { checkmode . Strict } ,
582
582
CheckFunction : checkfunctions .LibraryPropertiesParagraphFieldRepeatsSentence ,
583
583
},
584
584
{
@@ -592,8 +592,8 @@ var configurations = []Type{
592
592
DisableModes : nil ,
593
593
EnableModes : []checkmode.Type {checkmode .All },
594
594
InfoModes : nil ,
595
- WarningModes : []checkmode.Type {checkmode .All },
596
- ErrorModes : nil ,
595
+ WarningModes : []checkmode.Type {checkmode .Default },
596
+ ErrorModes : []checkmode. Type { checkmode . Strict } ,
597
597
CheckFunction : checkfunctions .LibraryPropertiesCategoryFieldMissing ,
598
598
},
599
599
{
@@ -622,8 +622,8 @@ var configurations = []Type{
622
622
DisableModes : nil ,
623
623
EnableModes : []checkmode.Type {checkmode .All },
624
624
InfoModes : nil ,
625
- WarningModes : []checkmode.Type {checkmode .All },
626
- ErrorModes : nil ,
625
+ WarningModes : []checkmode.Type {checkmode .Default },
626
+ ErrorModes : []checkmode. Type { checkmode . Strict } ,
627
627
CheckFunction : checkfunctions .LibraryPropertiesCategoryFieldUncategorized ,
628
628
},
629
629
{
@@ -667,8 +667,8 @@ var configurations = []Type{
667
667
DisableModes : nil ,
668
668
EnableModes : []checkmode.Type {checkmode .All },
669
669
InfoModes : nil ,
670
- WarningModes : []checkmode.Type {checkmode .All },
671
- ErrorModes : nil ,
670
+ WarningModes : []checkmode.Type {checkmode .Default },
671
+ ErrorModes : []checkmode. Type { checkmode . Strict } ,
672
672
CheckFunction : checkfunctions .LibraryPropertiesUrlFieldDeadLink ,
673
673
},
674
674
{
@@ -682,8 +682,8 @@ var configurations = []Type{
682
682
DisableModes : nil ,
683
683
EnableModes : []checkmode.Type {checkmode .All },
684
684
InfoModes : nil ,
685
- WarningModes : []checkmode.Type {checkmode .All },
686
- ErrorModes : nil ,
685
+ WarningModes : []checkmode.Type {checkmode .Default },
686
+ ErrorModes : []checkmode. Type { checkmode . Strict } ,
687
687
CheckFunction : checkfunctions .LibraryPropertiesArchitecturesFieldMissing ,
688
688
},
689
689
{
@@ -847,8 +847,8 @@ var configurations = []Type{
847
847
DisableModes : nil ,
848
848
EnableModes : []checkmode.Type {checkmode .All },
849
849
InfoModes : nil ,
850
- WarningModes : []checkmode.Type {checkmode .All },
851
- ErrorModes : nil ,
850
+ WarningModes : []checkmode.Type {checkmode .Default },
851
+ ErrorModes : []checkmode. Type { checkmode . Strict } ,
852
852
CheckFunction : checkfunctions .LibraryPropertiesMisspelledOptionalField ,
853
853
},
854
854
{
@@ -908,7 +908,7 @@ var configurations = []Type{
908
908
EnableModes : []checkmode.Type {checkmode .All },
909
909
InfoModes : nil ,
910
910
WarningModes : []checkmode.Type {checkmode .Default },
911
- ErrorModes : []checkmode.Type {checkmode .LibraryManagerSubmission , checkmode .LibraryManagerIndexed },
911
+ ErrorModes : []checkmode.Type {checkmode .LibraryManagerSubmission , checkmode .LibraryManagerIndexed , checkmode . Strict },
912
912
CheckFunction : checkfunctions .LibraryHasDotDevelopmentFile ,
913
913
},
914
914
{
@@ -922,7 +922,7 @@ var configurations = []Type{
922
922
DisableModes : nil ,
923
923
EnableModes : []checkmode.Type {checkmode .All },
924
924
InfoModes : nil ,
925
- WarningModes : []checkmode.Type {checkmode .LibraryManagerSubmission , checkmode .LibraryManagerIndexed },
925
+ WarningModes : []checkmode.Type {checkmode .LibraryManagerSubmission , checkmode .LibraryManagerIndexed , checkmode . Strict },
926
926
ErrorModes : nil ,
927
927
CheckFunction : checkfunctions .LibraryHasExe ,
928
928
},
@@ -1013,7 +1013,7 @@ var configurations = []Type{
1013
1013
EnableModes : []checkmode.Type {checkmode .All },
1014
1014
InfoModes : nil ,
1015
1015
WarningModes : []checkmode.Type {checkmode .All },
1016
- ErrorModes : nil ,
1016
+ ErrorModes : []checkmode. Type { checkmode . Strict } ,
1017
1017
CheckFunction : checkfunctions .MisspelledExtrasFolderName ,
1018
1018
},
1019
1019
{
@@ -1057,8 +1057,8 @@ var configurations = []Type{
1057
1057
DisableModes : nil ,
1058
1058
EnableModes : []checkmode.Type {checkmode .All },
1059
1059
InfoModes : nil ,
1060
- WarningModes : []checkmode.Type {checkmode .Permissive },
1061
- ErrorModes : []checkmode.Type {checkmode .Default },
1060
+ WarningModes : []checkmode.Type {checkmode .Default },
1061
+ ErrorModes : []checkmode.Type {checkmode .Strict },
1062
1062
CheckFunction : checkfunctions .PdeSketchExtension ,
1063
1063
},
1064
1064
}
0 commit comments