Skip to content

My examples directory is getting ignored #435

Open
@docwilco

Description

@docwilco

Describe the problem

I run the linter in GitHub actions, output is here: https://github.com/docwilco/MFIButton/actions/runs/3159910327/jobs/5143724723

But running it locally gives the same result:

$ arduino-lint --compliance strict
Linting library in /redacted/MFIButton
WARNING: No example sketches found. Please provide examples.
         See: https://arduino.github.io/arduino-cli/latest/library-specification/#library-examples
         (Rule LD004)

Linter results for project: 0 ERRORS, 1 WARNINGS

-------------------

But there's definitely an example: https://github.com/docwilco/MFIButton/blob/main/examples/Example_1-Basics_and_ESP32_timers.ino

To reproduce

Expected behavior

Find the example that is present

Arduino Lint version

nightly-20220930 2022-09-30T01:37:12Z

Operating system

Linux

Operating system version

Ubuntu 20.04.3 LTS

Additional context

No response

Issue checklist

  • I searched for previous reports in the issue tracker
  • I verified the problem still occurs when using the latest version
  • My report contains all necessary details

Metadata

Metadata

Assignees

No one assigned

    Labels

    type: imperfectionPerceived defect in any part of project

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions