Possible Errors

Best Practices

Strict Mode

Variables

Node.js and CommonJS

Stylistic Issues

ECMAScript 6

capitalized-comments

- Enforce or disallow capitalization of the first letter of a comment

Fixable

This rule aims to enforce a consistent style of comments across your codebase, specifically by either requiring or disallowing a capitalized letter as the first word character in a comment. This rule will not issue warnings when non-cased letters are used.

What ESLint should do when it catches the rule break

Show a warning

Options

always

Specifies a regular expression to ignore words that match a pattern.

ignoreInlineComments

Ignores inline comments.

ignoreConsecutiveComments

Ignores comments that follow another comment.

Rule examples

You can check them out here.