You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: check/checkconfigurations/checkconfigurations.go
+44-44
Original file line number
Diff line number
Diff line change
@@ -59,7 +59,7 @@ var configurations = []Type{
59
59
{
60
60
ProjectType: projecttype.Library,
61
61
Category: "structure",
62
-
Subcategory: "",
62
+
Subcategory: "general",
63
63
ID: "",
64
64
Brief: "invalid",
65
65
Description: "",
@@ -74,7 +74,7 @@ var configurations = []Type{
74
74
{
75
75
ProjectType: projecttype.Library,
76
76
Category: "structure",
77
-
Subcategory: "",
77
+
Subcategory: "root folder",
78
78
ID: "",
79
79
Brief: "folder name too long",
80
80
Description: "This will be problematic for people doing manual installation of the library.",
@@ -89,7 +89,7 @@ var configurations = []Type{
89
89
{
90
90
ProjectType: projecttype.Library,
91
91
Category: "structure",
92
-
Subcategory: "",
92
+
Subcategory: "root folder",
93
93
ID: "",
94
94
Brief: "disallowed characters in folder name",
95
95
Description: "This will be problematic for people doing manual installation of the library.",
@@ -104,7 +104,7 @@ var configurations = []Type{
104
104
{
105
105
ProjectType: projecttype.Library,
106
106
Category: "structure",
107
-
Subcategory: "",
107
+
Subcategory: "miscellaneous",
108
108
ID: "",
109
109
Brief: "submodule",
110
110
Description: "",
@@ -119,7 +119,7 @@ var configurations = []Type{
119
119
{
120
120
ProjectType: projecttype.Library,
121
121
Category: "structure",
122
-
Subcategory: "general",
122
+
Subcategory: "miscellaneous",
123
123
ID: "",
124
124
Brief: "symlink",
125
125
Description: "",
@@ -134,7 +134,7 @@ var configurations = []Type{
134
134
{
135
135
ProjectType: projecttype.Library,
136
136
Category: "structure",
137
-
Subcategory: "",
137
+
Subcategory: "miscellaneous",
138
138
ID: "",
139
139
Brief: ".development file",
140
140
Description: "",
@@ -149,7 +149,7 @@ var configurations = []Type{
149
149
{
150
150
ProjectType: projecttype.Library,
151
151
Category: "structure",
152
-
Subcategory: "",
152
+
Subcategory: "miscellaneous",
153
153
ID: "",
154
154
Brief: ".exe file",
155
155
Description: "",
@@ -164,7 +164,7 @@ var configurations = []Type{
164
164
{
165
165
ProjectType: projecttype.Library,
166
166
Category: "structure",
167
-
Subcategory: "general",
167
+
Subcategory: "source code",
168
168
ID: "",
169
169
Brief: "name-header mismatch",
170
170
Description: `The name value determines the installation folder name and the folder match to the filename in the #include directive influences "folder name priority".`,
@@ -179,7 +179,7 @@ var configurations = []Type{
179
179
{
180
180
ProjectType: projecttype.Library,
181
181
Category: "structure",
182
-
Subcategory: "",
182
+
Subcategory: "source code",
183
183
ID: "",
184
184
Brief: "incorrect src folder case",
185
185
Description: "",
@@ -194,7 +194,7 @@ var configurations = []Type{
194
194
{
195
195
ProjectType: projecttype.Library,
196
196
Category: "structure",
197
-
Subcategory: "",
197
+
Subcategory: "source code",
198
198
ID: "",
199
199
Brief: "recursive with utility folder",
200
200
Description: "",
@@ -209,7 +209,7 @@ var configurations = []Type{
209
209
{
210
210
ProjectType: projecttype.Library,
211
211
Category: "structure",
212
-
Subcategory: "",
212
+
Subcategory: "extras folder",
213
213
ID: "",
214
214
Brief: "incorrect extras folder name",
215
215
Description: "",
@@ -224,7 +224,7 @@ var configurations = []Type{
224
224
{
225
225
ProjectType: projecttype.Library,
226
226
Category: "structure",
227
-
Subcategory: "",
227
+
Subcategory: "extras folder",
228
228
ID: "",
229
229
Brief: "incorrect extras folder name case",
230
230
Description: "",
@@ -1064,7 +1064,7 @@ var configurations = []Type{
1064
1064
{
1065
1065
ProjectType: projecttype.Library,
1066
1066
Category: "code",
1067
-
Subcategory: "",
1067
+
Subcategory: "miscellaneous",
1068
1068
ID: "",
1069
1069
Brief: "incorrect Arduino.h case",
1070
1070
Description: "This causes compilation failure on filename case-sensitive OS (e.g., Linux).",
@@ -1078,8 +1078,8 @@ var configurations = []Type{
1078
1078
},
1079
1079
{
1080
1080
ProjectType: projecttype.Library,
1081
-
Category: "structure",
1082
-
Subcategory: "",
1081
+
Category: "documentation",
1082
+
Subcategory: "miscellaneous",
1083
1083
ID: "",
1084
1084
Brief: "no readme",
1085
1085
Description: "",
@@ -1093,8 +1093,8 @@ var configurations = []Type{
1093
1093
},
1094
1094
{
1095
1095
ProjectType: projecttype.Library,
1096
-
Category: "structure",
1097
-
Subcategory: "",
1096
+
Category: "documentation",
1097
+
Subcategory: "miscellaneous",
1098
1098
ID: "",
1099
1099
Brief: "no license file",
1100
1100
Description: "",
@@ -1123,8 +1123,8 @@ var configurations = []Type{
1123
1123
},
1124
1124
{
1125
1125
ProjectType: projecttype.Library,
1126
-
Category: "structure",
1127
-
Subcategory: "",
1126
+
Category: "documentation",
1127
+
Subcategory: "examples",
1128
1128
ID: "",
1129
1129
Brief: "no examples",
1130
1130
Description: "",
@@ -1138,8 +1138,8 @@ var configurations = []Type{
1138
1138
},
1139
1139
{
1140
1140
ProjectType: projecttype.Library,
1141
-
Category: "structure",
1142
-
Subcategory: "",
1141
+
Category: "documentation",
1142
+
Subcategory: "examples",
1143
1143
ID: "",
1144
1144
Brief: "incorrect examples folder name",
1145
1145
Description: "",
@@ -1153,8 +1153,8 @@ var configurations = []Type{
1153
1153
},
1154
1154
{
1155
1155
ProjectType: projecttype.Library,
1156
-
Category: "structure",
1157
-
Subcategory: "",
1156
+
Category: "documentation",
1157
+
Subcategory: "examples",
1158
1158
ID: "",
1159
1159
Brief: "incorrect examples folder name case",
1160
1160
Description: "",
@@ -1169,7 +1169,7 @@ var configurations = []Type{
1169
1169
{
1170
1170
ProjectType: projecttype.Sketch,
1171
1171
Category: "structure",
1172
-
Subcategory: "",
1172
+
Subcategory: "root folder",
1173
1173
ID: "",
1174
1174
Brief: "name mismatch",
1175
1175
Description: "",
@@ -1184,7 +1184,7 @@ var configurations = []Type{
1184
1184
{
1185
1185
ProjectType: projecttype.Sketch,
1186
1186
Category: "structure",
1187
-
Subcategory: "",
1187
+
Subcategory: "file name",
1188
1188
ID: "",
1189
1189
Brief: "disallowed characters in file name",
1190
1190
Description: "",
@@ -1199,7 +1199,7 @@ var configurations = []Type{
1199
1199
{
1200
1200
ProjectType: projecttype.Sketch,
1201
1201
Category: "structure",
1202
-
Subcategory: "",
1202
+
Subcategory: "file name",
1203
1203
ID: "",
1204
1204
Brief: "file name too long",
1205
1205
Description: "",
@@ -1214,7 +1214,7 @@ var configurations = []Type{
1214
1214
{
1215
1215
ProjectType: projecttype.Sketch,
1216
1216
Category: "structure",
1217
-
Subcategory: "",
1217
+
Subcategory: "file name",
1218
1218
ID: "SS001",
1219
1219
Brief: ".pde extension",
1220
1220
Description: "The .pde extension is used by both Processing sketches and Arduino sketches. Processing sketches should either be in the \"data\" subfolder of the sketch or in the \"extras\" folder of the library. Arduino sketches should use the modern .ino extension.",
@@ -1229,7 +1229,7 @@ var configurations = []Type{
1229
1229
{
1230
1230
ProjectType: projecttype.Sketch,
1231
1231
Category: "structure",
1232
-
Subcategory: "",
1232
+
Subcategory: "miscellaneous",
1233
1233
ID: "",
1234
1234
Brief: "incorrect src folder case",
1235
1235
Description: "",
@@ -1244,7 +1244,7 @@ var configurations = []Type{
1244
1244
{
1245
1245
ProjectType: projecttype.Sketch,
1246
1246
Category: "code",
1247
-
Subcategory: "",
1247
+
Subcategory: "miscellaneous",
1248
1248
ID: "",
1249
1249
Brief: "incorrect Arduino.h case",
1250
1250
Description: "This causes compilation failure on filename case-sensitive OS (e.g., Linux).",
@@ -1258,8 +1258,8 @@ var configurations = []Type{
1258
1258
},
1259
1259
{
1260
1260
ProjectType: projecttype.Sketch,
1261
-
Category: "structure",
1262
-
Subcategory: "",
1261
+
Category: "documentation",
1262
+
Subcategory: "miscellaneous",
1263
1263
ID: "",
1264
1264
Brief: "no readme",
1265
1265
Description: "",
@@ -1273,8 +1273,8 @@ var configurations = []Type{
1273
1273
},
1274
1274
{
1275
1275
ProjectType: projecttype.Sketch,
1276
-
Category: "structure",
1277
-
Subcategory: "",
1276
+
Category: "documentation",
1277
+
Subcategory: "miscellaneous",
1278
1278
ID: "",
1279
1279
Brief: "no license file",
1280
1280
Description: "",
@@ -1288,8 +1288,8 @@ var configurations = []Type{
1288
1288
},
1289
1289
{
1290
1290
ProjectType: projecttype.Sketch,
1291
-
Category: "metadata",
1292
-
Subcategory: "sketch.json",
1291
+
Category: "sketch.json",
1292
+
Subcategory: "general",
1293
1293
ID: "",
1294
1294
Brief: "invalid sketch.json JSON format",
1295
1295
Description: "",
@@ -1303,8 +1303,8 @@ var configurations = []Type{
1303
1303
},
1304
1304
{
1305
1305
ProjectType: projecttype.Sketch,
1306
-
Category: "metadata",
1307
-
Subcategory: "sketch.json",
1306
+
Category: "sketch.json",
1307
+
Subcategory: "general",
1308
1308
ID: "",
1309
1309
Brief: "invalid sketch.json data format",
1310
1310
Description: "",
@@ -1318,8 +1318,8 @@ var configurations = []Type{
1318
1318
},
1319
1319
{
1320
1320
ProjectType: projecttype.Platform,
1321
-
Category: "structure",
1322
-
Subcategory: "",
1321
+
Category: "documentation",
1322
+
Subcategory: "miscellaneous",
1323
1323
ID: "",
1324
1324
Brief: "no readme",
1325
1325
Description: "",
@@ -1333,8 +1333,8 @@ var configurations = []Type{
1333
1333
},
1334
1334
{
1335
1335
ProjectType: projecttype.Platform,
1336
-
Category: "structure",
1337
-
Subcategory: "",
1336
+
Category: "documentation",
1337
+
Subcategory: "miscellaneous",
1338
1338
ID: "",
1339
1339
Brief: "no license file",
1340
1340
Description: "",
@@ -1379,7 +1379,7 @@ var configurations = []Type{
1379
1379
{
1380
1380
ProjectType: projecttype.Platform,
1381
1381
Category: "code",
1382
-
Subcategory: "",
1382
+
Subcategory: "miscellaneous",
1383
1383
ID: "",
1384
1384
Brief: "incorrect Arduino.h case",
1385
1385
Description: "This causes compilation failure on filename case-sensitive OS (e.g., Linux).",
@@ -1394,7 +1394,7 @@ var configurations = []Type{
1394
1394
{
1395
1395
ProjectType: projecttype.PackageIndex,
1396
1396
Category: "data",
1397
-
Subcategory: "",
1397
+
Subcategory: "general",
1398
1398
ID: "",
1399
1399
Brief: "Invalid JSON format",
1400
1400
Description: "",
@@ -1409,7 +1409,7 @@ var configurations = []Type{
0 commit comments