UNPKG

eslint-plugin-no-comment

Version:

Enforce comment types in code

35 lines (18 loc) 461 B
# Disable use of /* comment blocks (`no-comment/no-comment-block`) <!-- end auto-generated rule header --> Disable block style comments & only allow // style comments ## Rule Details 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 ``` ## Further Reading https://github.com/Ryandev/eslint-plugin-no-comment.git