- Require empty lines around comments
This rule requires empty lines before and/or after comments. It can be enabled separately for both block (/*) and line (//) comments. This rule does not apply to comments that appear on the same line as code and does not require empty lines at the beginning or end of a file.
Requires an empty line before block comments.
Requires an empty line after block comments.
Requires an empty line before line comments.
Requires an empty line after line comments.
Allows comments to appear at the start of block statements.
Allows comments to appear at the end of block statements.
Allows comments to appear at the start of classes.
Allows comments to appear at the end of classes.
Allows comments to appear at the start of object literals.
Allows comments to appear at the end of object literals.
allows comments to appear at the start of array literals.
Allows comments to appear at the end of array literals.
Specifies a regular expression to ignore comments that match a pattern.
Applies default ignore patterns even if ignorePattern is provided.
You can check them out here.