Skip to content

Commit

Permalink
Docs: fix comment placement in a code example (#10799)
Browse files Browse the repository at this point in the history
  • Loading branch information
vsemozhetbyt authored and ilyavolodin committed Aug 27, 2018
1 parent 10690b7 commit 2824d43
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docs/rules/no-useless-concat.md
Expand Up @@ -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';
Expand Down

0 comments on commit 2824d43

Please sign in to comment.