Skip to content

Commit 2173a35

Browse files
committed
format
1 parent 9594512 commit 2173a35

File tree

1 file changed

+27
-11
lines changed

1 file changed

+27
-11
lines changed

resources/config.json

Lines changed: 27 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -24,28 +24,32 @@
2424
"props": {
2525
"severity": "ERROR",
2626
"format": "^[A-Z][A-Z0-9]*(_[A-Z0-9_]+)*$",
27-
"tokens": [ "INLINE" ]
27+
"tokens": [
28+
"INLINE"
29+
]
2830
}
2931
},
3032
{
3133
"type": "ConstantName",
3234
"props": {
3335
"severity": "ERROR",
3436
"format": "^[a-z]+[a-zA-Z0-9_]*$",
35-
"tokens": [ "NOTINLINE" ]
37+
"tokens": [
38+
"NOTINLINE"
39+
]
3640
}
3741
},
3842
{
3943
"type": "CyclomaticComplexity",
4044
"props": {
4145
"thresholds": [
4246
{
43-
"severity" : "WARNING",
44-
"complexity" : 11
47+
"severity": "WARNING",
48+
"complexity": 11
4549
},
4650
{
47-
"severity" : "ERROR",
48-
"complexity" : 21
51+
"severity": "ERROR",
52+
"complexity": 21
4953
}
5054
]
5155
}
@@ -107,15 +111,21 @@
107111
"props": {
108112
"severity": "ERROR",
109113
"format": "^[A-Z]+[A-Z0-9_]*$",
110-
"tokens": [ "ENUM" ]
114+
"tokens": [
115+
"ENUM"
116+
]
111117
}
112118
},
113119
{
114120
"type": "MemberName",
115121
"props": {
116122
"severity": "ERROR",
117123
"format": "^[a-z]+[a-zA-Z0-9_]*$",
118-
"tokens": [ "PUBLIC", "PRIVATE", "TYPEDEF" ]
124+
"tokens": [
125+
"PUBLIC",
126+
"PRIVATE",
127+
"TYPEDEF"
128+
]
119129
}
120130
},
121131
{
@@ -226,15 +236,21 @@
226236
"props": {
227237
"severity": "ERROR",
228238
"format": "^I[A-Z]+[a-zA-Z0-9_]*$",
229-
"tokens": [ "INTERFACE" ]
239+
"tokens": [
240+
"INTERFACE"
241+
]
230242
}
231243
},
232244
{
233245
"type": "TypeName",
234246
"props": {
235247
"severity": "ERROR",
236248
"format": "^[A-Z]+[a-zA-Z0-9_]*$",
237-
"tokens": [ "CLASS", "ENUM", "TYPEDEF" ]
249+
"tokens": [
250+
"CLASS",
251+
"ENUM",
252+
"TYPEDEF"
253+
]
238254
}
239255
},
240256
{
@@ -244,4 +260,4 @@
244260
}
245261
}
246262
]
247-
}
263+
}

0 commit comments

Comments
 (0)