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: internal/rule/ruleconfiguration/ruleconfiguration.go
+24-24Lines changed: 24 additions & 24 deletions
Original file line number
Diff line number
Diff line change
@@ -129,7 +129,7 @@ var configurations = []Type{
129
129
ID: "LS005",
130
130
Brief: "symlink",
131
131
Description: "",
132
-
MessageTemplate: "Symlink(s) found at {{.}}. Symlinks cause difficulties for Windows users. These block acceptance to the Arduino Library Manager index.",
132
+
MessageTemplate: "Symlink(s) found at {{.}}. Symlinks cause difficulties for Windows users. These block addition to the Arduino Library Manager index.",
133
133
DisableModes: nil,
134
134
EnableModes: []rulemode.Type{rulemode.Default},
135
135
InfoModes: nil,
@@ -161,7 +161,7 @@ var configurations = []Type{
161
161
ID: "LS007",
162
162
Brief: ".exe file",
163
163
Description: "",
164
-
MessageTemplate: ".exe file(s) found: {{.}}. Presence of these files blocks inclusion in Library Manager index.",
164
+
MessageTemplate: ".exe file(s) found: {{.}}. Presence of these files blocks addition to the Library Manager index.",
165
165
DisableModes: nil,
166
166
EnableModes: []rulemode.Type{rulemode.Default},
167
167
InfoModes: nil,
@@ -193,7 +193,7 @@ var configurations = []Type{
193
193
ID: "LS009",
194
194
Brief: "src folder case",
195
195
Description: "",
196
-
MessageTemplate: "Incorrect src folder case: {{.}}. This will cause the library to not be recognized on case-sensitive operating systems. See: https://arduino.github.io/arduino-cli/latest/library-specification/#library-root-folder",
196
+
MessageTemplate: "Incorrect src folder name case: {{.}}. This will cause the library to not be recognized on case-sensitive operating systems. See: https://arduino.github.io/arduino-cli/latest/library-specification/#library-root-folder",
197
197
DisableModes: nil,
198
198
EnableModes: []rulemode.Type{rulemode.Default},
199
199
InfoModes: nil,
@@ -207,7 +207,7 @@ var configurations = []Type{
207
207
Category: "structure",
208
208
Subcategory: "source code",
209
209
ID: "LS010",
210
-
Brief: "recursive w/ utility folder",
210
+
Brief: "recursive with utility folder",
211
211
Description: "",
212
212
MessageTemplate: `Utility folder found in "1.5" format library. Compilation of this folder is only supported on "1.0" format libraries. See: https://arduino.github.io/arduino-cli/latest/library-specification/#source-code`,
213
213
DisableModes: nil,
@@ -256,7 +256,7 @@ var configurations = []Type{
256
256
Subcategory: "general",
257
257
ID: "LP001",
258
258
Brief: "missing library.properties",
259
-
Description: `Although not required for 1.0 format libraries (AKA "legacy") not in Library Manager, metadata is useful, so it is recommended.`,
259
+
Description: `Although not required for 1.0 format libraries (AKA "legacy") not in Library Manager, metadata is useful, hence recommended.`,
260
260
MessageTemplate: "Library has no library.properties metadata file. This file provides useful information and is required for admission to the Library Manager index. See: https://arduino.github.io/arduino-cli/latest/library-specification/#library-metadata",
MessageTemplate: "library.properties has an invalid format: {{.}}",
325
325
DisableModes: nil,
326
326
EnableModes: []rulemode.Type{rulemode.Default},
@@ -353,7 +353,7 @@ var configurations = []Type{
353
353
ID: "LP007",
354
354
Brief: "missing name",
355
355
Description: "",
356
-
MessageTemplate: "Missing name field in library.properties",
356
+
MessageTemplate: "Missing name field in library.properties. See: https://arduino.github.io/arduino-cli/latest/library-specification/#libraryproperties-file-format",
357
357
DisableModes: nil,
358
358
EnableModes: []rulemode.Type{rulemode.Default},
359
359
InfoModes: nil,
@@ -401,7 +401,7 @@ var configurations = []Type{
401
401
ID: "LP010",
402
402
Brief: "name > recommended length",
403
403
Description: "",
404
-
MessageTemplate: "library.properties name value {{.}} is longer than recommended max length.",
404
+
MessageTemplate: "library.properties name value {{.}} is longer than the recommended length of 16 characters.",
405
405
DisableModes: nil,
406
406
EnableModes: []rulemode.Type{rulemode.Default},
407
407
InfoModes: nil,
@@ -417,7 +417,7 @@ var configurations = []Type{
417
417
ID: "LP011",
418
418
Brief: "prohibited characters in name",
419
419
Description: "",
420
-
MessageTemplate: "Disallowed characters in library.properties name value: {{.}}. See: https://arduino.github.io/arduino-cli/latest/library-specification/#libraryproperties-file-format",
420
+
MessageTemplate: "Prohibited characters in library.properties name value: {{.}}. See: https://arduino.github.io/arduino-cli/latest/library-specification/#libraryproperties-file-format",
421
421
DisableModes: nil,
422
422
EnableModes: []rulemode.Type{rulemode.Default},
423
423
InfoModes: nil,
@@ -432,7 +432,7 @@ var configurations = []Type{
432
432
Subcategory: "name field",
433
433
ID: "LP012",
434
434
Brief: `name starts with "Arduino"`,
435
-
Description: `Case insensitive. 3rd party libraries added to Library Manager index prior to the enactment of this rule are "grandfathered".`,
435
+
Description: `Case insensitive. Only 3rd party libraries added to the Library Manager index prior to the enactment of this rule are allowed to have this name prefix.`,
436
436
MessageTemplate: `Library name {{.}} starts with "Arduino". These names are reserved for official libraries.`,
437
437
DisableModes: []rulemode.Type{rulemode.Official},
438
438
EnableModes: []rulemode.Type{rulemode.Default},
@@ -513,7 +513,7 @@ var configurations = []Type{
513
513
ID: "LP017",
514
514
Brief: "duplicate name",
515
515
Description: "This requirement only applies to the library.properties name value. There is no requirement to change the repository or header file names.",
516
-
MessageTemplate: "Library name {{.}} is in use by a library in the Library Manager index. Each library must have a unique name value. If library is already in the index, use the \"--library-manager update\" flag.",
516
+
MessageTemplate: "Library name {{.}} is in use by a library in the Library Manager index. Each library must have a unique name value. If your library is already in the index, use the \"--library-manager update\" flag.",
MessageTemplate: "Missing required author field in library.properties. See https://arduino.github.io/arduino-cli/latest/library-specification/#libraryproperties-file-format",
612
+
MessageTemplate: "Missing author field in library.properties. See https://arduino.github.io/arduino-cli/latest/library-specification/#libraryproperties-file-format",
613
613
DisableModes: nil,
614
614
EnableModes: []rulemode.Type{rulemode.Default},
615
615
InfoModes: nil,
@@ -641,7 +641,7 @@ var configurations = []Type{
641
641
ID: "LP025",
642
642
Brief: "missing maintainer field",
643
643
Description: "",
644
-
MessageTemplate: "Missing required maintainer field in library.properties. See https://arduino.github.io/arduino-cli/latest/library-specification/#libraryproperties-file-format",
644
+
MessageTemplate: "Missing maintainer field in library.properties. See https://arduino.github.io/arduino-cli/latest/library-specification/#libraryproperties-file-format",
645
645
DisableModes: nil,
646
646
EnableModes: []rulemode.Type{rulemode.Default},
647
647
InfoModes: nil,
@@ -688,7 +688,7 @@ var configurations = []Type{
688
688
Subcategory: "email field",
689
689
ID: "LP028",
690
690
Brief: `"email" used as alias for "maintainer"`,
691
-
Description: "This was in an early draft of the beta 1.5 library specification.",
691
+
Description: "This was only in an early draft of the beta 1.5 library specification.",
692
692
MessageTemplate: `library.properties "email" field used as alias for "maintainer". This is deprecated.`,
693
693
DisableModes: nil,
694
694
EnableModes: []rulemode.Type{rulemode.Default},
@@ -737,7 +737,7 @@ var configurations = []Type{
737
737
ID: "LP031",
738
738
Brief: "missing sentence field",
739
739
Description: "",
740
-
MessageTemplate: "Missing required sentence field in library.properties. See https://arduino.github.io/arduino-cli/latest/library-specification/#libraryproperties-file-format",
740
+
MessageTemplate: "Missing sentence field in library.properties. See https://arduino.github.io/arduino-cli/latest/library-specification/#libraryproperties-file-format",
741
741
DisableModes: nil,
742
742
EnableModes: []rulemode.Type{rulemode.Default},
743
743
InfoModes: nil,
@@ -785,7 +785,7 @@ var configurations = []Type{
785
785
ID: "LP034",
786
786
Brief: "missing paragraph field",
787
787
Description: "",
788
-
MessageTemplate: "Missing required paragraph field in library.properties. See https://arduino.github.io/arduino-cli/latest/library-specification/#libraryproperties-file-format",
788
+
MessageTemplate: "Missing paragraph field in library.properties. See https://arduino.github.io/arduino-cli/latest/library-specification/#libraryproperties-file-format",
789
789
DisableModes: nil,
790
790
EnableModes: []rulemode.Type{rulemode.Default},
791
791
InfoModes: nil,
@@ -865,7 +865,7 @@ var configurations = []Type{
865
865
ID: "LP039",
866
866
Brief: `"Uncategorized" category value`,
867
867
Description: "There is no good reason for using this non-specification compliant category value.",
868
-
MessageTemplate: `Use of "Uncategorized" category value in library.properties. Please use one of the supported categories listed at https://arduino.github.io/arduino-cli/latest/library-specification/#libraryproperties-file-format`,
868
+
MessageTemplate: `Use of "Uncategorized" category value in library.properties. Please use one of the allowed categories: https://arduino.github.io/arduino-cli/latest/library-specification/#libraryproperties-file-format`,
869
869
DisableModes: nil,
870
870
EnableModes: []rulemode.Type{rulemode.Default},
871
871
InfoModes: nil,
@@ -881,7 +881,7 @@ var configurations = []Type{
881
881
ID: "LP040",
882
882
Brief: "missing url field",
883
883
Description: "",
884
-
MessageTemplate: "Missing required url field in library.properties. See https://arduino.github.io/arduino-cli/latest/library-specification/#libraryproperties-file-format",
884
+
MessageTemplate: "Missing url field in library.properties. See https://arduino.github.io/arduino-cli/latest/library-specification/#libraryproperties-file-format",
885
885
DisableModes: nil,
886
886
EnableModes: []rulemode.Type{rulemode.Default},
887
887
InfoModes: nil,
@@ -993,7 +993,7 @@ var configurations = []Type{
993
993
ID: "LP047",
994
994
Brief: "prohibited characters in depends",
995
995
Description: "",
996
-
MessageTemplate: "Disallowed characters in library.properties depends field {{.}}. See: https://arduino.github.io/arduino-cli/latest/library-specification/#libraryproperties-file-format",
996
+
MessageTemplate: "Prohibited characters in library.properties depends field {{.}}. See: https://arduino.github.io/arduino-cli/latest/library-specification/#libraryproperties-file-format",
997
997
DisableModes: nil,
998
998
EnableModes: []rulemode.Type{rulemode.Default},
999
999
InfoModes: nil,
@@ -1008,7 +1008,7 @@ var configurations = []Type{
1008
1008
Subcategory: "depends field",
1009
1009
ID: "LP048",
1010
1010
Brief: "depends not in index",
1011
-
Description: "",
1011
+
Description: "This field should be used to define the dependencies available from Library Manager. Library names are case-sensitive.",
1012
1012
MessageTemplate: "library.properties depends field item(s) {{.}} not found in the Library Manager index.",
1013
1013
DisableModes: nil,
1014
1014
EnableModes: []rulemode.Type{rulemode.Default},
@@ -1137,7 +1137,7 @@ var configurations = []Type{
1137
1137
ID: "LC001",
1138
1138
Brief: "Arduino.h case",
1139
1139
Description: "This causes compilation failure on filename case-sensitive OS (e.g., Linux).",
1140
-
MessageTemplate: "Incorrect of Arduino.h filename case detected in #include directive: {{.}}",
1140
+
MessageTemplate: "Incorrect Arduino.h filename case in #include directive: {{.}}",
1141
1141
DisableModes: nil,
1142
1142
EnableModes: []rulemode.Type{rulemode.Default},
1143
1143
InfoModes: nil,
@@ -1329,7 +1329,7 @@ var configurations = []Type{
1329
1329
ID: "SC001",
1330
1330
Brief: "Arduino.h case",
1331
1331
Description: "This causes compilation failure on filename case-sensitive OS (e.g., Linux).",
1332
-
MessageTemplate: "Incorrect of Arduino.h filename case detected in #include directive: {{.}}",
1332
+
MessageTemplate: "Incorrect Arduino.h filename case in #include directive: {{.}}",
1333
1333
DisableModes: nil,
1334
1334
EnableModes: []rulemode.Type{rulemode.Default},
1335
1335
InfoModes: nil,
@@ -1409,7 +1409,7 @@ var configurations = []Type{
1409
1409
ID: "PD001",
1410
1410
Brief: "no readme",
1411
1411
Description: "",
1412
-
MessageTemplate: "No readme found. Please document your library. See: https://docs.github.com/en/free-pro-team@latest/github/creating-cloning-and-archiving-repositories/about-readmes",
1412
+
MessageTemplate: "No readme found. Please document your boards platform. See: https://docs.github.com/en/free-pro-team@latest/github/creating-cloning-and-archiving-repositories/about-readmes",
1413
1413
DisableModes: nil,
1414
1414
EnableModes: []rulemode.Type{rulemode.Default},
1415
1415
InfoModes: nil,
@@ -1473,7 +1473,7 @@ var configurations = []Type{
1473
1473
ID: "PC001",
1474
1474
Brief: "Arduino.h case",
1475
1475
Description: "This causes compilation failure on filename case-sensitive OS (e.g., Linux).",
1476
-
MessageTemplate: "Incorrect of Arduino.h filename case detected in #include directive: {{.}}",
1476
+
MessageTemplate: "Incorrect Arduino.h filename case in #include directive: {{.}}",
0 commit comments