You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
FASTLED_SAMD51_HW_SPI violates the FL_ macro standard and is already on master #4021
agents/docs/cpp-standards.md is explicit: new FASTLED_* macros are a violation; use FL_<COMPONENT>_<NAME>.
Why it slipped
The identical mistake was caught by review on #4019 — FASTLED_ESP8266_EMBEDDED_FS was renamed to FL_ESP8266_EMBEDDED_FS — but the SAMD51 one was introduced in a different PR that had already merged, so nothing re-checked it. Two instances of one mistake, one caught and one not, is a sign the rule is not enforced anywhere mechanical.
Consider a linter rule for new FASTLED_* definitions, since review caught this only by luck.
Research: is a lint rule feasible without flagging the large body of pre-existing FASTLED_* macros? A baseline ratchet (as noexcept_baseline.txt does) would allow existing ones and block new.
Activity
feat(lint): enforce the FL_ macro prefix with a name ratchet (#4021)
feat(lint): enforce the FL_ macro prefix with a name ratchet (#4021) (#…