Closed Absolucy closed 3 weeks ago
This adds a new opinionated lint, PickWeightedSyntax / 3203, that is thrown whenever the "weighted" pick syntax, such as pick(4;0, 3;1, 2;2, 1;3), is used.
pick(4;0, 3;1, 2;2, 1;3)
It's disabled by default.
Goon CI failure is due to https://github.com/OpenDreamProject/OpenDream/issues/1821
This adds a new opinionated lint, PickWeightedSyntax / 3203, that is thrown whenever the "weighted" pick syntax, such as
pick(4;0, 3;1, 2;2, 1;3)
, is used.It's disabled by default.