no-useless-concat
Forbid unnecessary concatenation of Text literals
INFO
☑️ The predefined configuration "mslint:recommended"
enables this rule.
Rule details
This rule prohibits unnecessary string literal concatenation.
Example of incorrect code for this rule:
maniascript
main() {
"A" ^ "B";
C ^ "D" ^ "E" ^ "F" ^ G ^ "H";
}
Example of correct code for this rule:
maniascript
main() {
"AB";
C ^ "DEF" ^ G ^ "H";
}