mirror of
https://github.com/ditkrg/todo-to-issue-action.git
synced 2026-01-25 15:22:59 +00:00
Add support for JSON with Comments.
Support is similar to JSON5, except block comments are also supported.
This commit is contained in:
16
syntax.json
16
syntax.json
@@ -163,6 +163,22 @@
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"language": "JSON with Comments",
|
||||
"markers": [
|
||||
{
|
||||
"type": "line",
|
||||
"pattern": "//"
|
||||
},
|
||||
{
|
||||
"type": "block",
|
||||
"pattern": {
|
||||
"start": "/\\*",
|
||||
"end": "\\*/"
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"language": "JSON5",
|
||||
"markers": [
|
||||
|
||||
Reference in New Issue
Block a user