Skip to content

Template Strings ALL THE WAY!!

Choose a tag to compare

@rwjblue rwjblue released this 24 Apr 17:53
· 165 commits to master since this release

This release adds a new rule requiring that all string concatenation be done via template strings.

// bad
let foo = "blah" + bar;
someFunction("foo '" + baz + "'");

// good
let foo = `blah${bar}`;
someFunction(`foo '${baz}`);