File tree Expand file tree Collapse file tree 2 files changed +34
-0
lines changed
stackmuncher_lib/stm_rules Expand file tree Collapse file tree 2 files changed +34
-0
lines changed Original file line number Diff line number Diff line change
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
+ {"muncher" :" java" }
6
+ ]
7
+
8
+ }
Original file line number Diff line number Diff line change
1
+ {
2
+ "$schema" : " https://raw.githubusercontent.com/stackmuncher/stm_app/master/stackmuncher_lib/stm_rules/schemas/muncher.json" ,
3
+ "line_endings" : " unix" ,
4
+ "language" : " Java" ,
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
+ "doc_comments" : [
15
+ " ^\\ s+///\\ s+.{8,}"
16
+ ],
17
+ "block_comments_start" : [
18
+ " (?i)^\\ s*/\\ *"
19
+ ],
20
+ "block_comments_end" : [
21
+ " (?i)\\ */\\ s*$"
22
+ ],
23
+ "refs" : [
24
+ " ^[[:blank:]]*import[[:blank:]]+(?:static[[:blank:]]+)?([A-Za-z0-9_\\ .]+)"
25
+ ]
26
+ }
You can’t perform that action at this time.
0 commit comments