Skip to content

[Linter] Add keyword linting #46

@not-fritos

Description

@not-fritos

Is your feature request related to a problem? Please describe.
In keywords.txt we declare a few keywords which the Arduino IDE uses for syntactic sugar.

Describe the solution you'd like
We should add a rule in the linter that whenever new library functions are written, they should be required to add in keywords of any new public functions declared.

Alternatively, we could run a github actions workflow to automatically generate a keyword commit each time a new .h file is created with public functions.

Describe alternatives you've considered
Already listed, need to determine which is the better option.

Additional context

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions