eslint-plugin-no-comment
Version:
Enforce comment types in code
35 lines (18 loc) • 461 B
Markdown
<!-- end auto-generated rule header -->
Disable block style comments & only allow // style comments
Examples of **incorrect** code for this rule:
```js
/* My comment */
/** My comment */
```
Examples of **correct** code for this rule:
```js
// My comment
// Multi
// line
// comment
```
https://github.com/Ryandev/eslint-plugin-no-comment.git