Possible Errors

Best Practices

Strict Mode

Variables

Node.js and CommonJS

Stylistic Issues

ECMAScript 6

no-floating-decimal

- Disallow leading or trailing decimal points in numeric literals

Fixable

This rule is aimed at eliminating floating decimal points and will warn whenever a numeric value has a decimal point but is missing a number either before or after it.

What ESLint should do when it catches the rule break

Show a warning

Rule examples

You can check them out here.