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
+13-13
Original file line number
Diff line number
Diff line change
@@ -185,7 +185,7 @@ var configurations = []Type{
185
185
Subcategory: "source code",
186
186
ID: "LS008",
187
187
Brief: "name-header mismatch",
188
-
Description: "The match between the `library.properties` `name` field and the filename in an `#include` directive is a factor in the library's [dependency resolution priority](https://arduino.github.io/arduino-cli/dev/sketch-build-process/#dependency-resolution). It's recommended for the primary header filename to match the library name.",
188
+
Description: "The match between the `library.properties` `name` field and the filename in an `#include` directive is a factor in the library's [dependency resolution priority](https://arduino.github.io/arduino-cli/latest/sketch-build-process/#dependency-resolution). It's recommended for the primary header filename to match the library name.",
189
189
MessageTemplate: "No header file found matching library name ({{.}}). Best practices are for primary header filename to match library name.",
Description: "The library name (as defined by `name` field in [the `library.properties` metadata file](https://arduino.github.io/arduino-cli/dev/library-specification/#library-metadata)) was not found in the Library Manager index, but Arduino Lint was run in the [`--library-manager update` mode](https://arduino.github.io/arduino-lint/latest/commands/arduino-lint/#options), indicating that it was expected there.\n\nBecause the `name` value is the identifier used to install the library and define dependencies, it is not allowed to change after the library has been added to the index.",
562
+
Description: "The library name (as defined by `name` field in [the `library.properties` metadata file](https://arduino.github.io/arduino-cli/latest/library-specification/#library-metadata)) was not found in the Library Manager index, but Arduino Lint was run in the [`--library-manager update` mode](https://arduino.github.io/arduino-lint/latest/commands/arduino-lint/#options), indicating that it was expected there.\n\nBecause the `name` value is the identifier used to install the library and define dependencies, it is not allowed to change after the library has been added to the index.",
563
563
MessageTemplate: "Library name {{.}} not found in the Library Manager index. Library names are not allowed to change after being added to the index.",
@@ -1258,7 +1258,7 @@ var configurations = []Type{
1258
1258
Brief: "no readme",
1259
1259
Description: "None of the standard README file names (e.g., `README.md`) were found in the library's root folder. This file provides interested parties with a convenient and standardized location to get information about the project.",
1260
1260
MessageTemplate: "No readme found. Please document your library.",
@@ -1275,7 +1275,7 @@ var configurations = []Type{
1275
1275
Brief: "no license file",
1276
1276
Description: "None of the standard license file names (e.g., `LICENSE.txt`) were found in the library's root folder. This file provides interested parties with a convenient and standardized location to get information about the project's licensing and is also used by GitHub for automatic license type classification.",
@@ -1411,7 +1411,7 @@ var configurations = []Type{
1411
1411
Brief: ".pde extension",
1412
1412
Description: "A sketch file uses the deprecated `.pde` file extension. The .pde extension is used by both [Processing](https://processing.org/) sketches and Arduino sketches. If the project has supplemental Processing sketches, they should either be in the [`data` subfolder of the sketch](https://arduino.github.io/arduino-cli/latest/sketch-specification/#data-subfolder) or in the [`extras` folder of the library](https://arduino.github.io/arduino-cli/latest/library-specification/#extra-documentation). Arduino sketches should use the modern `.ino` extension.",
1413
1413
MessageTemplate: "{{.}} uses deprecated .pde file extension. Use .ino for Arduino sketches.",
@@ -1462,7 +1462,7 @@ var configurations = []Type{
1462
1462
Brief: "no readme",
1463
1463
Description: "None of the standard README file names (e.g., `README.md`) were found in the sketch folder. This file provides interested parties with a convenient and standardized location to get information about the project.",
1464
1464
MessageTemplate: "No readme found. Please document your sketch.",
@@ -1479,7 +1479,7 @@ var configurations = []Type{
1479
1479
Brief: "no license file",
1480
1480
Description: "None of the standard license file names (e.g., `LICENSE.txt`) were found in the sketch's root folder. This file provides interested parties with a convenient and standardized location to get information about the project's licensing and is also used by GitHub for automatic license type classification.",
@@ -1530,7 +1530,7 @@ var configurations = []Type{
1530
1530
Brief: "no readme",
1531
1531
Description: "None of the standard README file names (e.g., `README.md`) were found in the platform folder. This file provides interested parties with a convenient and standardized location to get information about the project.",
1532
1532
MessageTemplate: "No readme found. Please document your boards platform.",
@@ -1547,7 +1547,7 @@ var configurations = []Type{
1547
1547
Brief: "no license file",
1548
1548
Description: "None of the standard license file names (e.g., `LICENSE.txt`) were found in the platform folder. This file provides interested parties with a convenient and standardized location to get information about the project's licensing and is also used by GitHub for automatic license type classification.",
@@ -2907,7 +2907,7 @@ var configurations = []Type{
2907
2907
Brief: "upload.field.FIELD_NAME > max length",
2908
2908
Description: "The `tools.UPLOAD_RECIPE_ID.upload.field.FIELD_NAME` property in the platform's `platform.txt` configuration file is longer than the maximum length.",
2909
2909
MessageTemplate: "upload.UPLOAD_RECIPE_ID.upload.field.FIELD_NAME property is longer than the maximum length for fields: {{.}}",
@@ -2924,7 +2924,7 @@ var configurations = []Type{
2924
2924
Brief: "upload.field.FIELD_NAME.secret invalid",
2925
2925
Description: "The `tools.UPLOAD_RECIPE_ID.upload.field.FIELD_NAME.secret` property in the platform's `platform.txt` configuration file has an invalid value.",
2926
2926
MessageTemplate: "tools.UPLOAD_RECIPE_ID.upload.field.FIELD_NAME.secret value is invalid or field(s) {{.}}",
0 commit comments