@grexx/grexxlinter 0.2.2105 → 0.2.2124

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -235,27 +235,13 @@
235
235
  "allOf": [
236
236
  {
237
237
  "if": {
238
- "anyOf": [
239
- {
240
- "properties": {
241
- "method": {
242
- "const": "POST"
243
- }
244
- },
245
- "required": [
246
- "method"
247
- ]
248
- },
249
- {
250
- "properties": {
251
- "method": {
252
- "const": "POST"
253
- }
254
- },
255
- "required": [
256
- "method"
257
- ]
238
+ "properties": {
239
+ "method": {
240
+ "const": "POST"
258
241
  }
242
+ },
243
+ "required": [
244
+ "method"
259
245
  ]
260
246
  },
261
247
  "then": {},
@@ -267,27 +253,13 @@
267
253
  },
268
254
  {
269
255
  "if": {
270
- "anyOf": [
271
- {
272
- "properties": {
273
- "type": {
274
- "const": "join"
275
- }
276
- },
277
- "required": [
278
- "type"
279
- ]
280
- },
281
- {
282
- "properties": {
283
- "type": {
284
- "const": "join"
285
- }
286
- },
287
- "required": [
288
- "type"
289
- ]
256
+ "properties": {
257
+ "type": {
258
+ "const": "join"
290
259
  }
260
+ },
261
+ "required": [
262
+ "type"
291
263
  ]
292
264
  },
293
265
  "then": {},
@@ -299,27 +271,13 @@
299
271
  },
300
272
  {
301
273
  "if": {
302
- "anyOf": [
303
- {
304
- "properties": {
305
- "type": {
306
- "const": "join"
307
- }
308
- },
309
- "required": [
310
- "type"
311
- ]
312
- },
313
- {
314
- "properties": {
315
- "type": {
316
- "const": "join"
317
- }
318
- },
319
- "required": [
320
- "type"
321
- ]
274
+ "properties": {
275
+ "type": {
276
+ "const": "join"
322
277
  }
278
+ },
279
+ "required": [
280
+ "type"
323
281
  ]
324
282
  },
325
283
  "then": {},
@@ -331,27 +289,13 @@
331
289
  },
332
290
  {
333
291
  "if": {
334
- "anyOf": [
335
- {
336
- "properties": {
337
- "type": {
338
- "const": "join"
339
- }
340
- },
341
- "required": [
342
- "type"
343
- ]
344
- },
345
- {
346
- "properties": {
347
- "type": {
348
- "const": "join"
349
- }
350
- },
351
- "required": [
352
- "type"
353
- ]
292
+ "properties": {
293
+ "type": {
294
+ "const": "join"
354
295
  }
296
+ },
297
+ "required": [
298
+ "type"
355
299
  ]
356
300
  },
357
301
  "then": {},
@@ -363,27 +307,13 @@
363
307
  },
364
308
  {
365
309
  "if": {
366
- "anyOf": [
367
- {
368
- "properties": {
369
- "type": {
370
- "const": "special"
371
- }
372
- },
373
- "required": [
374
- "type"
375
- ]
376
- },
377
- {
378
- "properties": {
379
- "type": {
380
- "const": "special"
381
- }
382
- },
383
- "required": [
384
- "type"
385
- ]
310
+ "properties": {
311
+ "type": {
312
+ "const": "special"
386
313
  }
314
+ },
315
+ "required": [
316
+ "type"
387
317
  ]
388
318
  },
389
319
  "then": {},
@@ -1828,5 +1828,16 @@
1828
1828
  }
1829
1829
  }
1830
1830
  ]
1831
+ },
1832
+ "sortOrder": {
1833
+ "baseline": "MUST_NOT",
1834
+ "enabledWhen": [
1835
+ {
1836
+ "op": "cmp",
1837
+ "field": "sortDirection",
1838
+ "operator": "!=",
1839
+ "isEmpty": true
1840
+ }
1841
+ ]
1831
1842
  }
1832
1843
  }
@@ -108,27 +108,13 @@
108
108
  "allOf": [
109
109
  {
110
110
  "if": {
111
- "anyOf": [
112
- {
113
- "properties": {
114
- "fieldType": {
115
- "const": "taskAttribute"
116
- }
117
- },
118
- "required": [
119
- "fieldType"
120
- ]
121
- },
122
- {
123
- "properties": {
124
- "fieldType": {
125
- "const": "taskAttribute"
126
- }
127
- },
128
- "required": [
129
- "fieldType"
130
- ]
111
+ "properties": {
112
+ "fieldType": {
113
+ "const": "taskAttribute"
131
114
  }
115
+ },
116
+ "required": [
117
+ "fieldType"
132
118
  ]
133
119
  },
134
120
  "then": {},
@@ -140,27 +126,13 @@
140
126
  },
141
127
  {
142
128
  "if": {
143
- "anyOf": [
144
- {
145
- "properties": {
146
- "fieldType": {
147
- "const": "inlineTemplate"
148
- }
149
- },
150
- "required": [
151
- "fieldType"
152
- ]
153
- },
154
- {
155
- "properties": {
156
- "fieldType": {
157
- "const": "inlineTemplate"
158
- }
159
- },
160
- "required": [
161
- "fieldType"
162
- ]
129
+ "properties": {
130
+ "fieldType": {
131
+ "const": "inlineTemplate"
163
132
  }
133
+ },
134
+ "required": [
135
+ "fieldType"
164
136
  ]
165
137
  },
166
138
  "then": {},
@@ -158,27 +158,13 @@
158
158
  "allOf": [
159
159
  {
160
160
  "if": {
161
- "anyOf": [
162
- {
163
- "properties": {
164
- "fieldType": {
165
- "const": "inlineTemplate"
166
- }
167
- },
168
- "required": [
169
- "fieldType"
170
- ]
171
- },
172
- {
173
- "properties": {
174
- "fieldType": {
175
- "const": "inlineTemplate"
176
- }
177
- },
178
- "required": [
179
- "fieldType"
180
- ]
161
+ "properties": {
162
+ "fieldType": {
163
+ "const": "inlineTemplate"
181
164
  }
165
+ },
166
+ "required": [
167
+ "fieldType"
182
168
  ]
183
169
  },
184
170
  "then": {},
@@ -91,7 +91,7 @@
91
91
  "field": "type",
92
92
  "fieldName": "Type",
93
93
  "operator": "==",
94
- "value": "«action.disable»",
94
+ "value": "action.disable",
95
95
  "valueIsField": false,
96
96
  "isEmpty": false
97
97
  },
@@ -138,26 +138,6 @@
138
138
  {
139
139
  "if": {
140
140
  "anyOf": [
141
- {
142
- "properties": {
143
- "fromAttributeType": {
144
- "const": "casedata"
145
- }
146
- },
147
- "required": [
148
- "fromAttributeType"
149
- ]
150
- },
151
- {
152
- "properties": {
153
- "fromAttributeType": {
154
- "const": "taskout"
155
- }
156
- },
157
- "required": [
158
- "fromAttributeType"
159
- ]
160
- },
161
141
  {
162
142
  "properties": {
163
143
  "fromAttributeType": {
@@ -189,27 +169,13 @@
189
169
  },
190
170
  {
191
171
  "if": {
192
- "anyOf": [
193
- {
194
- "properties": {
195
- "fromAttributeType": {
196
- "const": "inlineTemplate"
197
- }
198
- },
199
- "required": [
200
- "fromAttributeType"
201
- ]
202
- },
203
- {
204
- "properties": {
205
- "fromAttributeType": {
206
- "const": "inlineTemplate"
207
- }
208
- },
209
- "required": [
210
- "fromAttributeType"
211
- ]
172
+ "properties": {
173
+ "fromAttributeType": {
174
+ "const": "inlineTemplate"
212
175
  }
176
+ },
177
+ "required": [
178
+ "fromAttributeType"
213
179
  ]
214
180
  },
215
181
  "then": {},
@@ -239,27 +205,13 @@
239
205
  },
240
206
  {
241
207
  "if": {
242
- "anyOf": [
243
- {
244
- "properties": {
245
- "showProgress": {
246
- "const": true
247
- }
248
- },
249
- "required": [
250
- "showProgress"
251
- ]
252
- },
253
- {
254
- "properties": {
255
- "showProgress": {
256
- "const": true
257
- }
258
- },
259
- "required": [
260
- "showProgress"
261
- ]
208
+ "properties": {
209
+ "showProgress": {
210
+ "const": true
262
211
  }
212
+ },
213
+ "required": [
214
+ "showProgress"
263
215
  ]
264
216
  },
265
217
  "then": {},
@@ -271,27 +223,13 @@
271
223
  },
272
224
  {
273
225
  "if": {
274
- "anyOf": [
275
- {
276
- "properties": {
277
- "toAttributeType": {
278
- "const": "usersession"
279
- }
280
- },
281
- "required": [
282
- "toAttributeType"
283
- ]
284
- },
285
- {
286
- "properties": {
287
- "toAttributeType": {
288
- "const": "usersession"
289
- }
290
- },
291
- "required": [
292
- "toAttributeType"
293
- ]
226
+ "properties": {
227
+ "toAttributeType": {
228
+ "const": "usersession"
294
229
  }
230
+ },
231
+ "required": [
232
+ "toAttributeType"
295
233
  ]
296
234
  },
297
235
  "then": {},
@@ -303,27 +241,13 @@
303
241
  },
304
242
  {
305
243
  "if": {
306
- "anyOf": [
307
- {
308
- "properties": {
309
- "toAttributeType": {
310
- "const": "taskAttribute"
311
- }
312
- },
313
- "required": [
314
- "toAttributeType"
315
- ]
316
- },
317
- {
318
- "properties": {
319
- "toAttributeType": {
320
- "const": "taskAttribute"
321
- }
322
- },
323
- "required": [
324
- "toAttributeType"
325
- ]
244
+ "properties": {
245
+ "toAttributeType": {
246
+ "const": "taskAttribute"
326
247
  }
248
+ },
249
+ "required": [
250
+ "toAttributeType"
327
251
  ]
328
252
  },
329
253
  "then": {},
@@ -166,16 +166,6 @@
166
166
  "type"
167
167
  ]
168
168
  },
169
- {
170
- "properties": {
171
- "type": {
172
- "const": "link"
173
- }
174
- },
175
- "required": [
176
- "type"
177
- ]
178
- },
179
169
  {
180
170
  "properties": {
181
171
  "type": {
@@ -247,27 +237,13 @@
247
237
  },
248
238
  {
249
239
  "if": {
250
- "anyOf": [
251
- {
252
- "properties": {
253
- "type": {
254
- "const": "template"
255
- }
256
- },
257
- "required": [
258
- "type"
259
- ]
260
- },
261
- {
262
- "properties": {
263
- "type": {
264
- "const": "template"
265
- }
266
- },
267
- "required": [
268
- "type"
269
- ]
240
+ "properties": {
241
+ "type": {
242
+ "const": "template"
270
243
  }
244
+ },
245
+ "required": [
246
+ "type"
271
247
  ]
272
248
  },
273
249
  "then": {},
@@ -310,36 +286,6 @@
310
286
  "type"
311
287
  ]
312
288
  },
313
- {
314
- "properties": {
315
- "type": {
316
- "const": "html"
317
- }
318
- },
319
- "required": [
320
- "type"
321
- ]
322
- },
323
- {
324
- "properties": {
325
- "type": {
326
- "const": "text"
327
- }
328
- },
329
- "required": [
330
- "type"
331
- ]
332
- },
333
- {
334
- "properties": {
335
- "type": {
336
- "const": "title"
337
- }
338
- },
339
- "required": [
340
- "type"
341
- ]
342
- },
343
289
  {
344
290
  "properties": {
345
291
  "type": {
@@ -7,7 +7,11 @@
7
7
  "field": "type",
8
8
  "fieldName": "Type platform attribute",
9
9
  "operator": "in",
10
- "value": "«[\"string\", \"json\", \"inlinetemplate\"]»",
10
+ "value": [
11
+ "string",
12
+ "json",
13
+ "inlinetemplate"
14
+ ],
11
15
  "valueIsField": false,
12
16
  "isEmpty": false
13
17
  }
@@ -145,7 +149,18 @@
145
149
  "field": "type",
146
150
  "fieldName": "Type platform attribute",
147
151
  "operator": "in",
148
- "value": "«[\"integer\", \"long\", \"json\", \"string\", \"double\", \"boolean\"…»",
152
+ "value": [
153
+ "integer",
154
+ "long",
155
+ "json",
156
+ "string",
157
+ "double",
158
+ "boolean",
159
+ "date",
160
+ "datetime",
161
+ "money",
162
+ "singlecurrencymoney"
163
+ ],
149
164
  "valueIsField": false,
150
165
  "isEmpty": false
151
166
  },
@@ -250,7 +265,12 @@
250
265
  "field": "type",
251
266
  "fieldName": "Type platform attribute",
252
267
  "operator": "in",
253
- "value": "«[\"case\", \"json\", \"string\", \"inlinetemplate\"]»",
268
+ "value": [
269
+ "case",
270
+ "json",
271
+ "string",
272
+ "inlinetemplate"
273
+ ],
254
274
  "valueIsField": false,
255
275
  "isEmpty": false
256
276
  }
@@ -273,7 +293,12 @@
273
293
  "field": "type",
274
294
  "fieldName": "Type platform attribute",
275
295
  "operator": "in",
276
- "value": "«[\"string\", \"json\", \"inlinetemplate\", \"case\"]»",
296
+ "value": [
297
+ "string",
298
+ "json",
299
+ "inlinetemplate",
300
+ "case"
301
+ ],
277
302
  "valueIsField": false,
278
303
  "isEmpty": false
279
304
  }
@@ -415,7 +440,15 @@
415
440
  "field": "type",
416
441
  "fieldName": "Type platform attribute",
417
442
  "operator": "notin",
418
- "value": "«[\"json\", \"datetime\", \"datasetrow\", \"inlinetemplate\", \"poi…»",
443
+ "value": [
444
+ "json",
445
+ "datetime",
446
+ "datasetrow",
447
+ "inlinetemplate",
448
+ "point2d",
449
+ "polygon2d",
450
+ "uuid"
451
+ ],
419
452
  "valueIsField": false,
420
453
  "isEmpty": false
421
454
  }
@@ -438,7 +471,15 @@
438
471
  "field": "type",
439
472
  "fieldName": "Type platform attribute",
440
473
  "operator": "notin",
441
- "value": "«[\"json\", \"datetime\", \"datasetrow\", \"inlinetemplate\", \"poi…»",
474
+ "value": [
475
+ "json",
476
+ "datetime",
477
+ "datasetrow",
478
+ "inlinetemplate",
479
+ "point2d",
480
+ "polygon2d",
481
+ "uuid"
482
+ ],
442
483
  "valueIsField": false,
443
484
  "isEmpty": false
444
485
  }
@@ -480,7 +521,12 @@
480
521
  "field": "type",
481
522
  "fieldName": "Type platform attribute",
482
523
  "operator": "in",
483
- "value": "«[\"string\", \"double\", \"json\", \"inlinetemplate\"]»",
524
+ "value": [
525
+ "string",
526
+ "double",
527
+ "json",
528
+ "inlinetemplate"
529
+ ],
484
530
  "valueIsField": false,
485
531
  "isEmpty": false
486
532
  },
@@ -489,7 +535,13 @@
489
535
  "field": "type",
490
536
  "fieldName": "Type platform attribute",
491
537
  "operator": "in",
492
- "value": "«[\"string\", \"json\", \"integer\", \"double\", \"long\"]»",
538
+ "value": [
539
+ "string",
540
+ "json",
541
+ "integer",
542
+ "double",
543
+ "long"
544
+ ],
493
545
  "valueIsField": false,
494
546
  "isEmpty": false
495
547
  }
@@ -252,27 +252,13 @@
252
252
  },
253
253
  {
254
254
  "if": {
255
- "anyOf": [
256
- {
257
- "properties": {
258
- "isCalculated": {
259
- "const": true
260
- }
261
- },
262
- "required": [
263
- "isCalculated"
264
- ]
265
- },
266
- {
267
- "properties": {
268
- "isCalculated": {
269
- "const": true
270
- }
271
- },
272
- "required": [
273
- "isCalculated"
274
- ]
255
+ "properties": {
256
+ "isCalculated": {
257
+ "const": true
275
258
  }
259
+ },
260
+ "required": [
261
+ "isCalculated"
276
262
  ]
277
263
  },
278
264
  "then": {},