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
High quality bug reports and feature requests are valuable contributions to the Arduino Lint project.
28
28
@@ -31,8 +31,8 @@ High quality bug reports and feature requests are valuable contributions to the
31
31
- Give the [nightly build](installation.md#nightly-builds) a test drive to see if your issue was already resolved.
32
32
- Search [existing pull requests and issues](https://github.com/arduino/arduino-lint/issues?q=) to see if it was already
33
33
reported. If you have additional information to provide about an existing issue, please comment there. You can use
34
-
[GitHub's "Reactions" feature](https://github.com/blog/2119-add-reactions-to-pull-requests-issues-and-comments) if you
35
-
only want to express support.
34
+
[GitHub's "Reactions" feature](https://github.blog/2016-03-10-add-reactions-to-pull-requests-issues-and-comments/) if
35
+
you only want to express support.
36
36
37
37
### Qualities of an excellent report
38
38
@@ -55,22 +55,22 @@ submitting a PR:
55
55
56
56
- Create small PRs that are narrowly focused on addressing a single concern.
57
57
- Write tests for the code you wrote.
58
-
- Maintain [**clean commit history**](http://www.freshconsulting.com/atomic-commits) and use
59
-
[**meaningful commit messages**](http://chris.beams.io/posts/git-commit). PRs with messy commit history are difficult
60
-
to review and require a lot of work to be merged.
58
+
- Maintain [**clean commit history**](https://www.freshconsulting.com/insights/blog/atomic-commits/) and use
59
+
[**meaningful commit messages**](https://cbea.ms/git-commit/). PRs with messy commit history are difficult to review
60
+
and require a lot of work to be merged.
61
61
- <aid="breaking"></a> If the PR contains a breaking change, please start the commit message and PR title with the
62
62
string **[breaking]**. Don't forget to describe in the PR description what changes users might need to make in their
63
63
workflow or application due to this PR. A breaking change is a change that forces users to change their command-line
64
64
invocations or parsing of the JSON formatted output when upgrading from an older version of Arduino Lint.
65
65
- PR titles indirectly become part of the CHANGELOG so it's crucial to provide a good record of **what** change is being
66
66
made in the title; **why** it was made will go in the PR description, along with
67
-
[a link to a GitHub issue](https://docs.github.com/en/free-pro-team@latest/github/managing-your-work-on-github/linking-a-pull-request-to-an-issue)
67
+
[a link to a GitHub issue](https://docs.github.com/issues/tracking-your-work-with-issues/linking-a-pull-request-to-an-issue)
68
68
if one exists.
69
69
- Open your PR against the `main` branch.
70
-
- Your PR must pass all [CI](https://en.wikipedia.org/wiki/Continuous_integration) tests before we will merge it. You
71
-
can run the CI in your fork by clicking the "Actions" tab and then the "I understand my workflows..." button. If
72
-
you're seeing an error and don't think it's your fault, it may not be! The reviewer will help you if there are test
73
-
failures that seem not related to the change you are making.
70
+
- Your PR must pass all [CI](https://wikipedia.org/wiki/Continuous_integration) tests before we will merge it. You can
71
+
run the CI in your fork by clicking the "Actions" tab and then the "I understand my workflows..." button. If you're
72
+
seeing an error and don't think it's your fault, it may not be! The reviewer will help you if there are test failures
73
+
that seem not related to the change you are making.
74
74
75
75
### Development prerequisites
76
76
@@ -183,7 +183,7 @@ Unfortunately, **Licensed** does not have Windows support.
183
183
184
184
An updated cache is also generated whenever the cache is found to be outdated by the by the "Check Go Dependencies" CI
185
185
workflow and made available for download via the `dep-licenses-cache`
Copy file name to clipboardExpand all lines: internal/rule/ruleconfiguration/ruleconfiguration.go
+13-13Lines changed: 13 additions & 13 deletions
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