I compared Supaplane's lint output before and after a small change to no-magic-numbers. Ordinary indices, counts and offsets were making up most of the warnings from that rule. A list lookup using length - 1 was one of the fixture cases.
In the lint policy change, I added -1, 0, 1 and 2 to the rule's ignore list. On the same source, Oxlint reported 52 warnings from the rule, down from 224. The other rules reported the same counts. The remaining warnings still included protocol values such as the WebSocket close code 1008.
The fixtures check both sides of that decision. Reverting the config made the four small-literal cases fail, while the case expecting a warning for 1008 still passed. That gives the next tweak to the rule a concrete test for what the warning is meant to catch.