arduino-lint icon indicating copy to clipboard operation
arduino-lint copied to clipboard

Please add check for invalid examples e.g. containing no ino file

Open ArminJo opened this issue 4 years ago • 1 comments
trafficstars

By accident I released a few versions of the IRremote library with the IRremoteExtensionTest example containing a IRremoteExtensionTest.cpp instead of a IRremoteExtensionTest.ino file. It would be nice to add such a check, or do you have another tool which can do this task.

Is the keywords.txt also checked by arduino-lint?

ArminJo avatar Apr 30 '21 22:04 ArminJo

It would be nice to add such a check

Thanks for your suggestion!

Is the keywords.txt also checked by arduino-lint?

Not at this time and I don't know what are the plans specifically for keywords.txt support.

For now, I can recommend my own bash script for checking keywords.txt. There is a workflow here that can simply be copied in to any library repository without modification: https://github.com/107-systems/107-Arduino-NMEA-Parser/blob/master/.github/workflows/check-keywords-txt.yml

per1234 avatar May 01 '21 11:05 per1234

Can I close the issue for me?

ArminJo avatar Oct 12 '22 19:10 ArminJo

Sure! PRs are always welcome.

per1234 avatar Oct 12 '22 21:10 per1234