Skip to content

Commit ef91704

Browse files
committed
Added VueJS and ReactJS basic munchers
1 parent 01150df commit ef91704

File tree

4 files changed

+58
-0
lines changed

4 files changed

+58
-0
lines changed
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
{
2+
"$schema": "https://raw.githubusercontent.com/stackmuncher/stm_app/master/stackmuncher_lib/stm_rules/schemas/file-type.json",
3+
"line_endings": "unix",
4+
"matches": [
5+
{
6+
"muncher": "reactjs"
7+
}
8+
]
9+
}
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
{
2+
"$schema": "https://raw.githubusercontent.com/stackmuncher/stm_app/master/stackmuncher_lib/stm_rules/schemas/file-type.json",
3+
"line_endings": "unix",
4+
"matches": [
5+
{
6+
"muncher": "vuejs"
7+
}
8+
]
9+
}
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
{
2+
"$schema": "https://raw.githubusercontent.com/stackmuncher/stm_app/master/stackmuncher_lib/stm_rules/schemas/muncher.json",
3+
"line_endings": "unix",
4+
"language": "ReactJS",
5+
"bracket_only": [
6+
"^\\s*[{}\\[\\]][\\s;,)]*$"
7+
],
8+
"line_comments": [
9+
"^\\s*//\\s*.{10,}"
10+
],
11+
"inline_comments": [
12+
"^[.[^/\n]]+\\s//\\s.{10,}"
13+
],
14+
"block_comments_start": [
15+
"(?i)^\\s*/\\*"
16+
],
17+
"block_comments_end": [
18+
"(?i)\\*/\\s*$"
19+
]
20+
}
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
{
2+
"$schema": "https://raw.githubusercontent.com/stackmuncher/stm_app/master/stackmuncher_lib/stm_rules/schemas/muncher.json",
3+
"line_endings": "unix",
4+
"language": "VueJS",
5+
"bracket_only": [
6+
"^\\s*[{}\\[\\]][\\s;,)]*$"
7+
],
8+
"line_comments": [
9+
"^\\s*//\\s*.{10,}"
10+
],
11+
"inline_comments": [
12+
"^[.[^/\n]]+\\s//\\s.{10,}"
13+
],
14+
"block_comments_start": [
15+
"(?i)^\\s*/\\*"
16+
],
17+
"block_comments_end": [
18+
"(?i)\\*/\\s*$"
19+
]
20+
}

0 commit comments

Comments
 (0)