Skip to content

Commit a6c6d51

Browse files
committed
editing syntax code for js
1 parent c8041a7 commit a6c6d51

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -119,10 +119,10 @@ notes -x src/ -x -x node_modules/ -x *.md
119119
code-notes scan for NOTE, OPTIMIZE, TODO, HACK, XXX, FIXME, and BUG comments within your source, and print them to stdout so you can deal with them. However, if you wish to define more annotations to be extracted, this can be easily done by extending the definitions in `lib/messageChecks.js`. An example for an annotation:
120120

121121
```javascript
122-
todo: {
123-
regex: /[\/\/][\/\*]\s*TODO\s*(?:\(([^:]*)\))*\s*:?\s*(.*)/i,
124-
label: ' ✓ TODO',
125-
colorer: chalk.magenta
122+
"todo": {
123+
"regex": /[\/\/][\/\*]\s*TODO\s*(?:\(([^:]*)\))*\s*:?\s*(.*)/i,
124+
"label": ' ✓ TODO',
125+
"colorer": chalk.magenta
126126
}
127127
```
128128

0 commit comments

Comments
 (0)