Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit acb946d

Browse files
committedDec 24, 2020
Improve rule messages
1 parent c7ceb9c commit acb946d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

‎internal/rule/ruleconfiguration/ruleconfiguration.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,7 @@ var configurations = []Type{
207207
Category: "structure",
208208
Subcategory: "source code",
209209
ID: "LS010",
210-
Brief: "recursive w/ utility folder",
210+
Brief: "recursive with utility folder",
211211
Description: "",
212212
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`,
213213
DisableModes: nil,
@@ -432,7 +432,7 @@ var configurations = []Type{
432432
Subcategory: "name field",
433433
ID: "LP012",
434434
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.`,
436436
MessageTemplate: `Library name {{.}} starts with "Arduino". These names are reserved for official libraries.`,
437437
DisableModes: []rulemode.Type{rulemode.Official},
438438
EnableModes: []rulemode.Type{rulemode.Default},

0 commit comments

Comments
 (0)
Please sign in to comment.