Possible Errors

Best Practices

Strict Mode

Variables

Node.js and CommonJS

Stylistic Issues

ECMAScript 6

no-new-wrappers

- Disallow new operators with the String, Number, and Boolean objects

This rule aims to eliminate the use of String, Number, and Boolean with the new operator. As such, it warns whenever it sees new String, new Number, or new Boolean.

What ESLint should do when it catches the rule break

Show a warning

Rule examples

You can check them out here.