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
Add support for version constraints in depends field
Arduino CLI and the Library Manager indexer has some provisional support for specifying version constraints in the
library.properties depends field. Although undocumented, this syntax is fully supported by the other tools, so Arduino
Lint's previous treatment of libraries using this feature as invalid is incorrect.
"$comment": "Based on #/definitions/propertiesObjects/name/base/definitions/patternObjects/allowedCharacters and general-definitions-schema.json#/definitions/patternObjects/relaxedSemver",
Copy file name to clipboardExpand all lines: internal/rule/ruleconfiguration/ruleconfiguration.go
+3-3
Original file line number
Diff line number
Diff line change
@@ -1007,15 +1007,15 @@ var configurations = []Type{
1007
1007
Category: "library.properties",
1008
1008
Subcategory: "depends field",
1009
1009
ID: "LP047",
1010
-
Brief: "prohibited character in depends",
1010
+
Brief: "invalid depends format",
1011
1011
Description: "",
1012
-
MessageTemplate: "Prohibited character(s) in library.properties depends field {{.}}. See: https://arduino.github.io/arduino-cli/latest/library-specification/#libraryproperties-file-format",
1012
+
MessageTemplate: "Invalid format of library.properties depends field {{.}}. See: https://arduino.github.io/arduino-cli/latest/library-specification/#libraryproperties-file-format",
"$comment": "Based on #/definitions/propertiesObjects/name/base/definitions/patternObjects/allowedCharacters and general-definitions-schema.json#/definitions/patternObjects/relaxedSemver",
0 commit comments