jfmengels/elm-review-simplify
Vedi su GitHubString.join / String.concat with a single element
Open
#336 aperta il 18 gen 2025
enhancementhelp wanted
Metriche repository
- Star
- (22 star)
- Metriche merge PR
- (Metriche PR in attesa)
Descrizione
What the rule should do:
String.join "foo" [ a ] => a
String.concat [ a ] => a
Example of things the rule would not report:
String.join "foo" [ "bar", "baz" ]
String.concat [ "bar", "baz" ]
Should this be part of the Simplify rule or should it be a new rule? Part of Simplify
I am looking for:
- Someone to implement it with/for me