@grexx/grexxlinter 0.2.383 → 0.2.418

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.
@@ -80,7 +80,7 @@
80
80
  "if": {
81
81
  "properties": {
82
82
  "showProgress": {
83
- "const": "true"
83
+ "const": true
84
84
  }
85
85
  },
86
86
  "required": [
@@ -98,7 +98,7 @@
98
98
  "if": {
99
99
  "properties": {
100
100
  "showProgress": {
101
- "const": "true"
101
+ "const": true
102
102
  }
103
103
  },
104
104
  "required": [
@@ -116,7 +116,7 @@
116
116
  "if": {
117
117
  "properties": {
118
118
  "showProgress": {
119
- "const": "true"
119
+ "const": true
120
120
  }
121
121
  },
122
122
  "required": [
@@ -733,38 +733,6 @@
733
733
  }
734
734
  }
735
735
  },
736
- {
737
- "if": {
738
- "anyOf": [
739
- {
740
- "properties": {
741
- "isLinkedToPlatformWidget": {
742
- "const": "true"
743
- }
744
- },
745
- "required": [
746
- "isLinkedToPlatformWidget"
747
- ]
748
- },
749
- {
750
- "properties": {
751
- "isLinkedToPlatformWidget": {
752
- "const": "true"
753
- }
754
- },
755
- "required": [
756
- "isLinkedToPlatformWidget"
757
- ]
758
- }
759
- ]
760
- },
761
- "then": {},
762
- "else": {
763
- "properties": {
764
- "platformWidget": false
765
- }
766
- }
767
- },
768
736
  {
769
737
  "if": {
770
738
  "properties": {
@@ -939,6 +907,46 @@
939
907
  }
940
908
  }
941
909
  },
910
+ {
911
+ "if": {
912
+ "anyOf": [
913
+ {
914
+ "properties": {
915
+ "widgetType": {
916
+ "const": "templateWidget"
917
+ }
918
+ },
919
+ "required": [
920
+ "widgetType"
921
+ ]
922
+ },
923
+ {
924
+ "properties": {
925
+ "widgetType": {
926
+ "const": "tileWidget"
927
+ }
928
+ },
929
+ "required": [
930
+ "widgetType"
931
+ ]
932
+ }
933
+ ]
934
+ },
935
+ "then": {
936
+ "anyOf": [
937
+ {
938
+ "required": [
939
+ "template"
940
+ ]
941
+ },
942
+ {
943
+ "required": [
944
+ "templateInline"
945
+ ]
946
+ }
947
+ ]
948
+ }
949
+ },
942
950
  {
943
951
  "if": {
944
952
  "properties": {
@@ -1001,8 +1009,7 @@
1001
1009
  },
1002
1010
  "then": {
1003
1011
  "required": [
1004
- "dataset",
1005
- "template"
1012
+ "dataset"
1006
1013
  ]
1007
1014
  }
1008
1015
  },
@@ -1091,57 +1098,6 @@
1091
1098
  "form"
1092
1099
  ]
1093
1100
  }
1094
- },
1095
- {
1096
- "if": {
1097
- "properties": {
1098
- "isLinkedToPlatformWidget": {
1099
- "const": "true"
1100
- }
1101
- },
1102
- "required": [
1103
- "isLinkedToPlatformWidget"
1104
- ]
1105
- },
1106
- "then": {
1107
- "required": [
1108
- "platformWidget"
1109
- ]
1110
- }
1111
- },
1112
- {
1113
- "if": {
1114
- "properties": {
1115
- "widgetType": {
1116
- "const": "templateWidget"
1117
- }
1118
- },
1119
- "required": [
1120
- "widgetType"
1121
- ]
1122
- },
1123
- "then": {
1124
- "required": [
1125
- "template"
1126
- ]
1127
- }
1128
- },
1129
- {
1130
- "if": {
1131
- "properties": {
1132
- "widgetType": {
1133
- "const": "filePreview"
1134
- }
1135
- },
1136
- "required": [
1137
- "widgetType"
1138
- ]
1139
- },
1140
- "then": {
1141
- "required": [
1142
- "templateInline"
1143
- ]
1144
- }
1145
1101
  }
1146
1102
  ],
1147
1103
  "$comment": "Conditionals generated by packages/schemas/scripts/extend.mjs from rules/widget.json."