Possible Errors

Best Practices

Strict Mode

Variables

Node.js and CommonJS

Stylistic Issues

ECMAScript 6

quotes

- Enforce the consistent use of either backticks, double, or single quotes

Fixable

This rule enforces the consistent use of either backticks, double, or single quotes.

What ESLint should do when it catches the rule break

Show a warning

Options

double

avoidEscape

Allows strings to use single-quotes or double-quotes so long as the string contains a quote that would have to be escaped otherwise.

allowTemplateLiterals

Allows strings to use backticks.

Rule examples

You can check them out here.