diff --git a/docs/rules/no-useless-concat.md b/docs/rules/no-useless-concat.md index b1e54cc82aa..5dc5f1fc0d2 100644 --- a/docs/rules/no-useless-concat.md +++ b/docs/rules/no-useless-concat.md @@ -22,8 +22,9 @@ Examples of **incorrect** code for this rule: /*eslint no-useless-concat: "error"*/ /*eslint-env es6*/ -// these are the same as "10" var a = `some` + `string`; + +// these are the same as "10" var a = '1' + '0'; var a = '1' + `0`; var a = `1` + '0';