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
banned_chars advises -> for arrows that point the other way #48
aiPrimarily authored by AI (whether PR, Issue, Whatever)area/lintDeals with the linting algorithms themselves, how they work.bugSomething isn't working
banned_chars advises -> for every arrow in the ranges U+2190 to U+21FF, U+27F0 to U+27FF, U+2900 to U+297F and U+2798 to U+27AF that has no rule of its own. Many arrows in those ranges point left, up, down or both ways, so the advice is wrong for them.
For example, U+21A9 (leftwards arrow with hook) and U+21D0 (leftwards double arrow) are reported with "write -> instead", which reverses the meaning.
The single-character rules above the ranges (src/lint/banned_chars.rs) already get the direction right for the common arrows. The range defaults could either name the direction per code point (from its Unicode name) or say "an arrow" without suggesting a replacement.
Found while measuring which replacements an automatic fix could apply safely.
aiPrimarily authored by AI (whether PR, Issue, Whatever)area/lintDeals with the linting algorithms themselves, how they work.bugSomething isn't working
Activity
feat: add deslag fix for banned characters (#51)