You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: check/checkconfigurations/checkconfigurations.go
+6-6Lines changed: 6 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -21,7 +21,7 @@ type Type struct {
21
21
Categorystring
22
22
Subcategorystring
23
23
IDstring// Unique check identifier: <project type identifier (L|S|P|I)><category identifier><number>
24
-
Namestring// Short description of the check.
24
+
Briefstring// Short description of the check.
25
25
Descriptionstring// Supplemental information about the check.
26
26
MessageTemplatestring// The warning/error message template displayed when the check fails. Will be filled by check function output.
27
27
// The following fields define under which tool configuration modes the check will run:
@@ -41,7 +41,7 @@ var Configurations = []Type{
41
41
Category: "library.properties",
42
42
Subcategory: "general",
43
43
ID: "LP001",
44
-
Name: "invalid format",
44
+
Brief:"invalid format",
45
45
Description: "",
46
46
MessageTemplate: "library.properties has an invalid format: {{.}}",
47
47
DisableModes: nil,
@@ -56,7 +56,7 @@ var Configurations = []Type{
56
56
Category: "library.properties",
57
57
Subcategory: "name field",
58
58
ID: "LP002",
59
-
Name: "missing name field",
59
+
Brief:"missing name field",
60
60
Description: "",
61
61
MessageTemplate: "missing name field in library.properties",
62
62
DisableModes: nil,
@@ -71,7 +71,7 @@ var Configurations = []Type{
71
71
Category: "library.properties",
72
72
Subcategory: "name field",
73
73
ID: "LP003",
74
-
Name: "disallowed characters",
74
+
Brief:"disallowed characters",
75
75
Description: "",
76
76
MessageTemplate: "disallowed characters in library.properties name field. See: https://arduino.github.io/arduino-cli/latest/library-specification/#libraryproperties-file-format",
77
77
DisableModes: nil,
@@ -86,7 +86,7 @@ var Configurations = []Type{
86
86
Category: "library.properties",
87
87
Subcategory: "version field",
88
88
ID: "LP004",
89
-
Name: "missing version field",
89
+
Brief:"missing version field",
90
90
Description: "",
91
91
MessageTemplate: "missing version field in library.properties",
92
92
DisableModes: nil,
@@ -101,7 +101,7 @@ var Configurations = []Type{
101
101
Category: "structure",
102
102
Subcategory: "",
103
103
ID: "SS001",
104
-
Name: ".pde extension",
104
+
Brief:".pde extension",
105
105
Description: "The .pde extension is used by both Processing sketches and Arduino sketches. Processing sketches should either be in the \"data\" subfolder of the sketch or in the \"extras\" folder of the library. Arduino sketches should use the modern .ino extension",
106
106
MessageTemplate: "{{.}} uses deprecated .pde file extension. Use .ino for Arduino sketches",
0 commit comments