Skip to content

Change of LP010: Increase character limit for naming Arduino libraries #508

Closed
@aentinger

Description

@aentinger

Describe the request

In my daily usage of this action I often find myself violating rule LP010, which recommends a maximum amount of characters of 16 for the name of any given Arduino library, i.e. here:

WARNING: library.properties name value Arduino_USBHostMbed5 is longer than the recommended length of 16 characters.
         See: https://arduino.github.io/arduino-cli/latest/library-specification/#libraryproperties-file-format    
         (Rule LP010)                                                                                              

Given the fact, that our official Arduino libraries have to be prefixed with Arduino_ already 8 out of 16 characters are given away to that mandated prefix.

I therefore suggest to increase the character limit for Arduino library names to at least 32 characters.

Describe the current behavior

arduino-lint behaves as it should this is about a rule change ;).

Arduino Lint version

1.2.1 2022-06-28T08:38:52Z

Operating system

N/A

Operating system version

Any.

Additional context

No response

Issue checklist

  • I searched for previous requests in the issue tracker
  • I verified the feature was still missing when using the latest version
  • My request contains all necessary details

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions