Possible Errors

Best Practices

Strict Mode

Variables

Node.js and CommonJS

Stylistic Issues

ECMAScript 6

no-useless-concat

- Disallow unnecessary concatenation of literals or template literals

This rule aims to flag the concatenation of 2 literals when they could be combined into a single literal. Literals can be strings or template literals.

What ESLint should do when it catches the rule break

Show a warning

Rule examples

You can check them out here.