Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 17 additions & 0 deletions markedCommentsTest.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
// @TODO this is valid single-line comment

const x = 2; /* this is invalid comment */

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Comment should start with one of the predefined prefixes.

List of allowed prefixes
  • @TODO (not implemented feature)
  • @TMP (temporary solution)
  • @NOTE (information about package/code)


console.log("test123"); // @NOTE hello

/*
* this is
* invalid
* comment
*/
Comment on lines +7 to +11

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

At least one line of comment block should start with one of the predefined prefixes.

List of allowed prefixes
  • @TODO (not implemented feature)
  • @TMP (temporary solution)
  • @NOTE (information about package/code)


/*
* this is
* @TMP valid
* comment
*/