Commit 36204a0
authored
Increase recommended library name length to 32 (#511)
The previous maximum recommend library name length, according to rule LP010, was 16 characters. This limit was determined to be unrealistic. For example, once Arduino library authors have added the required "Arduino_" prefix, half the available characters are used up.
Even though it is only a recommendation, resulting in a warning when Arduino Lint is ran in "permissive" or "specification" compliance modes, it is an error in "strict" mode. This impossibility of complying with LP010 is the sole reason for the strict compliance level being used in the CI systems of several of Arduino's libraries.1 parent ca0f618 commit 36204a0
File tree
6 files changed
+5
-5
lines changed- etc/schemas
- internal/rule
- ruleconfiguration
- rulefunction
- testdata/libraries/NameIsBiggerThanRecommendedLength
- src
- schema/schemadata
6 files changed
+5
-5
lines changedLines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
91 | 91 | | |
92 | 92 | | |
93 | 93 | | |
94 | | - | |
| 94 | + | |
95 | 95 | | |
96 | 96 | | |
97 | 97 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
424 | 424 | | |
425 | 425 | | |
426 | 426 | | |
427 | | - | |
| 427 | + | |
428 | 428 | | |
429 | 429 | | |
430 | 430 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
297 | 297 | | |
298 | 298 | | |
299 | 299 | | |
300 | | - | |
| 300 | + | |
301 | 301 | | |
302 | 302 | | |
303 | 303 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1509 | 1509 | | |
1510 | 1510 | | |
1511 | 1511 | | |
1512 | | - | |
| 1512 | + | |
1513 | 1513 | | |
1514 | 1514 | | |
1515 | 1515 | | |
| |||
0 commit comments