Skip to content

Commit c86cfaa

Browse files
committed
[eslint config] [semver-patch] Enable no-useless-concat rule which prefer-template already covers
1 parent f468a52 commit c86cfaa

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

packages/eslint-config-airbnb/rules/best-practices.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,9 @@ module.exports = {
113113
'no-unused-labels': 2,
114114
// disallow unnecessary .call() and .apply()
115115
'no-useless-call': 0,
116+
// disallow useless string concatenation
117+
// http://eslint.org/docs/rules/no-useless-concat
118+
'no-useless-concat': 2,
116119
// disallow unnecessary string escaping
117120
// http://eslint.org/docs/rules/no-useless-escape
118121
'no-useless-escape': 2,

0 commit comments

Comments
 (0)