xmoj-script 1.1.43 → 1.1.45
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.
- package/.editorconfig +588 -0
- package/.github/workflows/sitemap-automation.yml +1 -1
- package/.idea/vcs.xml +1 -0
- package/Update/UpdateToRelease.js +15 -3
- package/Update/UpdateVersion.js +11 -5
- package/Update.json +22 -0
- package/XMOJ.user.js +230 -343
- package/package.json +1 -1
package/.editorconfig
ADDED
@@ -0,0 +1,588 @@
|
|
1
|
+
[*]
|
2
|
+
charset = utf-8
|
3
|
+
end_of_line = lf
|
4
|
+
indent_size = 4
|
5
|
+
indent_style = space
|
6
|
+
insert_final_newline = false
|
7
|
+
max_line_length = 120
|
8
|
+
tab_width = 4
|
9
|
+
ij_continuation_indent_size = 8
|
10
|
+
ij_formatter_off_tag = @formatter:off
|
11
|
+
ij_formatter_on_tag = @formatter:on
|
12
|
+
ij_formatter_tags_enabled = true
|
13
|
+
ij_smart_tabs = false
|
14
|
+
ij_visual_guides =
|
15
|
+
ij_wrap_on_typing = false
|
16
|
+
|
17
|
+
[*.css]
|
18
|
+
ij_css_align_closing_brace_with_properties = false
|
19
|
+
ij_css_blank_lines_around_nested_selector = 1
|
20
|
+
ij_css_blank_lines_between_blocks = 1
|
21
|
+
ij_css_block_comment_add_space = false
|
22
|
+
ij_css_brace_placement = end_of_line
|
23
|
+
ij_css_enforce_quotes_on_format = false
|
24
|
+
ij_css_hex_color_long_format = false
|
25
|
+
ij_css_hex_color_lower_case = false
|
26
|
+
ij_css_hex_color_short_format = false
|
27
|
+
ij_css_hex_color_upper_case = false
|
28
|
+
ij_css_keep_blank_lines_in_code = 2
|
29
|
+
ij_css_keep_indents_on_empty_lines = false
|
30
|
+
ij_css_keep_single_line_blocks = false
|
31
|
+
ij_css_properties_order = font,font-family,font-size,font-weight,font-style,font-variant,font-size-adjust,font-stretch,line-height,position,z-index,top,right,bottom,left,display,visibility,float,clear,overflow,overflow-x,overflow-y,clip,zoom,align-content,align-items,align-self,flex,flex-flow,flex-basis,flex-direction,flex-grow,flex-shrink,flex-wrap,justify-content,order,box-sizing,width,min-width,max-width,height,min-height,max-height,margin,margin-top,margin-right,margin-bottom,margin-left,padding,padding-top,padding-right,padding-bottom,padding-left,table-layout,empty-cells,caption-side,border-spacing,border-collapse,list-style,list-style-position,list-style-type,list-style-image,content,quotes,counter-reset,counter-increment,resize,cursor,user-select,nav-index,nav-up,nav-right,nav-down,nav-left,transition,transition-delay,transition-timing-function,transition-duration,transition-property,transform,transform-origin,animation,animation-name,animation-duration,animation-play-state,animation-timing-function,animation-delay,animation-iteration-count,animation-direction,text-align,text-align-last,vertical-align,white-space,text-decoration,text-emphasis,text-emphasis-color,text-emphasis-style,text-emphasis-position,text-indent,text-justify,letter-spacing,word-spacing,text-outline,text-transform,text-wrap,text-overflow,text-overflow-ellipsis,text-overflow-mode,word-wrap,word-break,tab-size,hyphens,pointer-events,opacity,color,border,border-width,border-style,border-color,border-top,border-top-width,border-top-style,border-top-color,border-right,border-right-width,border-right-style,border-right-color,border-bottom,border-bottom-width,border-bottom-style,border-bottom-color,border-left,border-left-width,border-left-style,border-left-color,border-radius,border-top-left-radius,border-top-right-radius,border-bottom-right-radius,border-bottom-left-radius,border-image,border-image-source,border-image-slice,border-image-width,border-image-outset,border-image-repeat,outline,outline-width,outline-style,outline-color,outline-offset,background,background-color,background-image,background-repeat,background-attachment,background-position,background-position-x,background-position-y,background-clip,background-origin,background-size,box-decoration-break,box-shadow,text-shadow
|
32
|
+
ij_css_space_after_colon = true
|
33
|
+
ij_css_space_before_opening_brace = true
|
34
|
+
ij_css_use_double_quotes = true
|
35
|
+
ij_css_value_alignment = do_not_align
|
36
|
+
|
37
|
+
[*.feature]
|
38
|
+
indent_size = 2
|
39
|
+
ij_gherkin_keep_indents_on_empty_lines = false
|
40
|
+
|
41
|
+
[*.less]
|
42
|
+
indent_size = 2
|
43
|
+
ij_less_align_closing_brace_with_properties = false
|
44
|
+
ij_less_blank_lines_around_nested_selector = 1
|
45
|
+
ij_less_blank_lines_between_blocks = 1
|
46
|
+
ij_less_block_comment_add_space = false
|
47
|
+
ij_less_brace_placement = 0
|
48
|
+
ij_less_enforce_quotes_on_format = false
|
49
|
+
ij_less_hex_color_long_format = false
|
50
|
+
ij_less_hex_color_lower_case = false
|
51
|
+
ij_less_hex_color_short_format = false
|
52
|
+
ij_less_hex_color_upper_case = false
|
53
|
+
ij_less_keep_blank_lines_in_code = 2
|
54
|
+
ij_less_keep_indents_on_empty_lines = false
|
55
|
+
ij_less_keep_single_line_blocks = false
|
56
|
+
ij_less_line_comment_add_space = false
|
57
|
+
ij_less_line_comment_at_first_column = false
|
58
|
+
ij_less_properties_order = font,font-family,font-size,font-weight,font-style,font-variant,font-size-adjust,font-stretch,line-height,position,z-index,top,right,bottom,left,display,visibility,float,clear,overflow,overflow-x,overflow-y,clip,zoom,align-content,align-items,align-self,flex,flex-flow,flex-basis,flex-direction,flex-grow,flex-shrink,flex-wrap,justify-content,order,box-sizing,width,min-width,max-width,height,min-height,max-height,margin,margin-top,margin-right,margin-bottom,margin-left,padding,padding-top,padding-right,padding-bottom,padding-left,table-layout,empty-cells,caption-side,border-spacing,border-collapse,list-style,list-style-position,list-style-type,list-style-image,content,quotes,counter-reset,counter-increment,resize,cursor,user-select,nav-index,nav-up,nav-right,nav-down,nav-left,transition,transition-delay,transition-timing-function,transition-duration,transition-property,transform,transform-origin,animation,animation-name,animation-duration,animation-play-state,animation-timing-function,animation-delay,animation-iteration-count,animation-direction,text-align,text-align-last,vertical-align,white-space,text-decoration,text-emphasis,text-emphasis-color,text-emphasis-style,text-emphasis-position,text-indent,text-justify,letter-spacing,word-spacing,text-outline,text-transform,text-wrap,text-overflow,text-overflow-ellipsis,text-overflow-mode,word-wrap,word-break,tab-size,hyphens,pointer-events,opacity,color,border,border-width,border-style,border-color,border-top,border-top-width,border-top-style,border-top-color,border-right,border-right-width,border-right-style,border-right-color,border-bottom,border-bottom-width,border-bottom-style,border-bottom-color,border-left,border-left-width,border-left-style,border-left-color,border-radius,border-top-left-radius,border-top-right-radius,border-bottom-right-radius,border-bottom-left-radius,border-image,border-image-source,border-image-slice,border-image-width,border-image-outset,border-image-repeat,outline,outline-width,outline-style,outline-color,outline-offset,background,background-color,background-image,background-repeat,background-attachment,background-position,background-position-x,background-position-y,background-clip,background-origin,background-size,box-decoration-break,box-shadow,text-shadow
|
59
|
+
ij_less_space_after_colon = true
|
60
|
+
ij_less_space_before_opening_brace = true
|
61
|
+
ij_less_use_double_quotes = true
|
62
|
+
ij_less_value_alignment = 0
|
63
|
+
|
64
|
+
[*.sass]
|
65
|
+
indent_size = 2
|
66
|
+
ij_sass_align_closing_brace_with_properties = false
|
67
|
+
ij_sass_blank_lines_around_nested_selector = 1
|
68
|
+
ij_sass_blank_lines_between_blocks = 1
|
69
|
+
ij_sass_brace_placement = 0
|
70
|
+
ij_sass_enforce_quotes_on_format = false
|
71
|
+
ij_sass_hex_color_long_format = false
|
72
|
+
ij_sass_hex_color_lower_case = false
|
73
|
+
ij_sass_hex_color_short_format = false
|
74
|
+
ij_sass_hex_color_upper_case = false
|
75
|
+
ij_sass_keep_blank_lines_in_code = 2
|
76
|
+
ij_sass_keep_indents_on_empty_lines = false
|
77
|
+
ij_sass_keep_single_line_blocks = false
|
78
|
+
ij_sass_line_comment_add_space = false
|
79
|
+
ij_sass_line_comment_at_first_column = false
|
80
|
+
ij_sass_properties_order = font,font-family,font-size,font-weight,font-style,font-variant,font-size-adjust,font-stretch,line-height,position,z-index,top,right,bottom,left,display,visibility,float,clear,overflow,overflow-x,overflow-y,clip,zoom,align-content,align-items,align-self,flex,flex-flow,flex-basis,flex-direction,flex-grow,flex-shrink,flex-wrap,justify-content,order,box-sizing,width,min-width,max-width,height,min-height,max-height,margin,margin-top,margin-right,margin-bottom,margin-left,padding,padding-top,padding-right,padding-bottom,padding-left,table-layout,empty-cells,caption-side,border-spacing,border-collapse,list-style,list-style-position,list-style-type,list-style-image,content,quotes,counter-reset,counter-increment,resize,cursor,user-select,nav-index,nav-up,nav-right,nav-down,nav-left,transition,transition-delay,transition-timing-function,transition-duration,transition-property,transform,transform-origin,animation,animation-name,animation-duration,animation-play-state,animation-timing-function,animation-delay,animation-iteration-count,animation-direction,text-align,text-align-last,vertical-align,white-space,text-decoration,text-emphasis,text-emphasis-color,text-emphasis-style,text-emphasis-position,text-indent,text-justify,letter-spacing,word-spacing,text-outline,text-transform,text-wrap,text-overflow,text-overflow-ellipsis,text-overflow-mode,word-wrap,word-break,tab-size,hyphens,pointer-events,opacity,color,border,border-width,border-style,border-color,border-top,border-top-width,border-top-style,border-top-color,border-right,border-right-width,border-right-style,border-right-color,border-bottom,border-bottom-width,border-bottom-style,border-bottom-color,border-left,border-left-width,border-left-style,border-left-color,border-radius,border-top-left-radius,border-top-right-radius,border-bottom-right-radius,border-bottom-left-radius,border-image,border-image-source,border-image-slice,border-image-width,border-image-outset,border-image-repeat,outline,outline-width,outline-style,outline-color,outline-offset,background,background-color,background-image,background-repeat,background-attachment,background-position,background-position-x,background-position-y,background-clip,background-origin,background-size,box-decoration-break,box-shadow,text-shadow
|
81
|
+
ij_sass_space_after_colon = true
|
82
|
+
ij_sass_space_before_opening_brace = true
|
83
|
+
ij_sass_use_double_quotes = true
|
84
|
+
ij_sass_value_alignment = 0
|
85
|
+
|
86
|
+
[*.scss]
|
87
|
+
indent_size = 2
|
88
|
+
ij_scss_align_closing_brace_with_properties = false
|
89
|
+
ij_scss_blank_lines_around_nested_selector = 1
|
90
|
+
ij_scss_blank_lines_between_blocks = 1
|
91
|
+
ij_scss_block_comment_add_space = false
|
92
|
+
ij_scss_brace_placement = 0
|
93
|
+
ij_scss_enforce_quotes_on_format = false
|
94
|
+
ij_scss_hex_color_long_format = false
|
95
|
+
ij_scss_hex_color_lower_case = false
|
96
|
+
ij_scss_hex_color_short_format = false
|
97
|
+
ij_scss_hex_color_upper_case = false
|
98
|
+
ij_scss_keep_blank_lines_in_code = 2
|
99
|
+
ij_scss_keep_indents_on_empty_lines = false
|
100
|
+
ij_scss_keep_single_line_blocks = false
|
101
|
+
ij_scss_line_comment_add_space = false
|
102
|
+
ij_scss_line_comment_at_first_column = false
|
103
|
+
ij_scss_properties_order = font,font-family,font-size,font-weight,font-style,font-variant,font-size-adjust,font-stretch,line-height,position,z-index,top,right,bottom,left,display,visibility,float,clear,overflow,overflow-x,overflow-y,clip,zoom,align-content,align-items,align-self,flex,flex-flow,flex-basis,flex-direction,flex-grow,flex-shrink,flex-wrap,justify-content,order,box-sizing,width,min-width,max-width,height,min-height,max-height,margin,margin-top,margin-right,margin-bottom,margin-left,padding,padding-top,padding-right,padding-bottom,padding-left,table-layout,empty-cells,caption-side,border-spacing,border-collapse,list-style,list-style-position,list-style-type,list-style-image,content,quotes,counter-reset,counter-increment,resize,cursor,user-select,nav-index,nav-up,nav-right,nav-down,nav-left,transition,transition-delay,transition-timing-function,transition-duration,transition-property,transform,transform-origin,animation,animation-name,animation-duration,animation-play-state,animation-timing-function,animation-delay,animation-iteration-count,animation-direction,text-align,text-align-last,vertical-align,white-space,text-decoration,text-emphasis,text-emphasis-color,text-emphasis-style,text-emphasis-position,text-indent,text-justify,letter-spacing,word-spacing,text-outline,text-transform,text-wrap,text-overflow,text-overflow-ellipsis,text-overflow-mode,word-wrap,word-break,tab-size,hyphens,pointer-events,opacity,color,border,border-width,border-style,border-color,border-top,border-top-width,border-top-style,border-top-color,border-right,border-right-width,border-right-style,border-right-color,border-bottom,border-bottom-width,border-bottom-style,border-bottom-color,border-left,border-left-width,border-left-style,border-left-color,border-radius,border-top-left-radius,border-top-right-radius,border-bottom-right-radius,border-bottom-left-radius,border-image,border-image-source,border-image-slice,border-image-width,border-image-outset,border-image-repeat,outline,outline-width,outline-style,outline-color,outline-offset,background,background-color,background-image,background-repeat,background-attachment,background-position,background-position-x,background-position-y,background-clip,background-origin,background-size,box-decoration-break,box-shadow,text-shadow
|
104
|
+
ij_scss_space_after_colon = true
|
105
|
+
ij_scss_space_before_opening_brace = true
|
106
|
+
ij_scss_use_double_quotes = true
|
107
|
+
ij_scss_value_alignment = 0
|
108
|
+
|
109
|
+
[*.vue]
|
110
|
+
indent_size = 2
|
111
|
+
tab_width = 2
|
112
|
+
ij_continuation_indent_size = 4
|
113
|
+
ij_vue_indent_children_of_top_level = template
|
114
|
+
ij_vue_interpolation_new_line_after_start_delimiter = true
|
115
|
+
ij_vue_interpolation_new_line_before_end_delimiter = true
|
116
|
+
ij_vue_interpolation_wrap = off
|
117
|
+
ij_vue_keep_indents_on_empty_lines = false
|
118
|
+
ij_vue_spaces_within_interpolation_expressions = true
|
119
|
+
|
120
|
+
[.editorconfig]
|
121
|
+
ij_editorconfig_align_group_field_declarations = false
|
122
|
+
ij_editorconfig_space_after_colon = false
|
123
|
+
ij_editorconfig_space_after_comma = true
|
124
|
+
ij_editorconfig_space_before_colon = false
|
125
|
+
ij_editorconfig_space_before_comma = false
|
126
|
+
ij_editorconfig_spaces_around_assignment_operators = true
|
127
|
+
|
128
|
+
[{*.ant,*.fxml,*.jhm,*.jnlp,*.jrxml,*.rng,*.tld,*.wsdl,*.xml,*.xsd,*.xsl,*.xslt,*.xul}]
|
129
|
+
ij_xml_align_attributes = true
|
130
|
+
ij_xml_align_text = false
|
131
|
+
ij_xml_attribute_wrap = normal
|
132
|
+
ij_xml_block_comment_add_space = false
|
133
|
+
ij_xml_block_comment_at_first_column = true
|
134
|
+
ij_xml_keep_blank_lines = 2
|
135
|
+
ij_xml_keep_indents_on_empty_lines = false
|
136
|
+
ij_xml_keep_line_breaks = true
|
137
|
+
ij_xml_keep_line_breaks_in_text = true
|
138
|
+
ij_xml_keep_whitespaces = false
|
139
|
+
ij_xml_keep_whitespaces_around_cdata = preserve
|
140
|
+
ij_xml_keep_whitespaces_inside_cdata = false
|
141
|
+
ij_xml_line_comment_at_first_column = true
|
142
|
+
ij_xml_space_after_tag_name = false
|
143
|
+
ij_xml_space_around_equals_in_attribute = false
|
144
|
+
ij_xml_space_inside_empty_tag = false
|
145
|
+
ij_xml_text_wrap = normal
|
146
|
+
|
147
|
+
[{*.ats,*.cts,*.mts,*.ts}]
|
148
|
+
indent_size = 2
|
149
|
+
tab_width = 2
|
150
|
+
ij_continuation_indent_size = 2
|
151
|
+
ij_typescript_align_imports = false
|
152
|
+
ij_typescript_align_multiline_array_initializer_expression = false
|
153
|
+
ij_typescript_align_multiline_binary_operation = false
|
154
|
+
ij_typescript_align_multiline_chained_methods = false
|
155
|
+
ij_typescript_align_multiline_extends_list = false
|
156
|
+
ij_typescript_align_multiline_for = true
|
157
|
+
ij_typescript_align_multiline_parameters = true
|
158
|
+
ij_typescript_align_multiline_parameters_in_calls = false
|
159
|
+
ij_typescript_align_multiline_ternary_operation = false
|
160
|
+
ij_typescript_align_object_properties = 0
|
161
|
+
ij_typescript_align_union_types = false
|
162
|
+
ij_typescript_align_var_statements = 0
|
163
|
+
ij_typescript_array_initializer_new_line_after_left_brace = false
|
164
|
+
ij_typescript_array_initializer_right_brace_on_new_line = false
|
165
|
+
ij_typescript_array_initializer_wrap = off
|
166
|
+
ij_typescript_assignment_wrap = off
|
167
|
+
ij_typescript_binary_operation_sign_on_next_line = false
|
168
|
+
ij_typescript_binary_operation_wrap = off
|
169
|
+
ij_typescript_blacklist_imports = rxjs/Rx,node_modules/**,**/node_modules/**,@angular/material,@angular/material/typings/**
|
170
|
+
ij_typescript_blank_lines_after_imports = 1
|
171
|
+
ij_typescript_blank_lines_around_class = 1
|
172
|
+
ij_typescript_blank_lines_around_field = 0
|
173
|
+
ij_typescript_blank_lines_around_field_in_interface = 0
|
174
|
+
ij_typescript_blank_lines_around_function = 1
|
175
|
+
ij_typescript_blank_lines_around_method = 1
|
176
|
+
ij_typescript_blank_lines_around_method_in_interface = 1
|
177
|
+
ij_typescript_block_brace_style = end_of_line
|
178
|
+
ij_typescript_block_comment_add_space = false
|
179
|
+
ij_typescript_block_comment_at_first_column = true
|
180
|
+
ij_typescript_call_parameters_new_line_after_left_paren = false
|
181
|
+
ij_typescript_call_parameters_right_paren_on_new_line = false
|
182
|
+
ij_typescript_call_parameters_wrap = off
|
183
|
+
ij_typescript_catch_on_new_line = false
|
184
|
+
ij_typescript_chained_call_dot_on_new_line = true
|
185
|
+
ij_typescript_class_brace_style = end_of_line
|
186
|
+
ij_typescript_comma_on_new_line = false
|
187
|
+
ij_typescript_do_while_brace_force = never
|
188
|
+
ij_typescript_else_on_new_line = false
|
189
|
+
ij_typescript_enforce_trailing_comma = keep
|
190
|
+
ij_typescript_enum_constants_wrap = on_every_item
|
191
|
+
ij_typescript_extends_keyword_wrap = off
|
192
|
+
ij_typescript_extends_list_wrap = off
|
193
|
+
ij_typescript_field_prefix = _
|
194
|
+
ij_typescript_file_name_style = relaxed
|
195
|
+
ij_typescript_finally_on_new_line = false
|
196
|
+
ij_typescript_for_brace_force = never
|
197
|
+
ij_typescript_for_statement_new_line_after_left_paren = false
|
198
|
+
ij_typescript_for_statement_right_paren_on_new_line = false
|
199
|
+
ij_typescript_for_statement_wrap = off
|
200
|
+
ij_typescript_force_quote_style = false
|
201
|
+
ij_typescript_force_semicolon_style = false
|
202
|
+
ij_typescript_function_expression_brace_style = end_of_line
|
203
|
+
ij_typescript_if_brace_force = never
|
204
|
+
ij_typescript_import_merge_members = global
|
205
|
+
ij_typescript_import_prefer_absolute_path = global
|
206
|
+
ij_typescript_import_sort_members = true
|
207
|
+
ij_typescript_import_sort_module_name = false
|
208
|
+
ij_typescript_import_use_node_resolution = true
|
209
|
+
ij_typescript_imports_wrap = on_every_item
|
210
|
+
ij_typescript_indent_case_from_switch = true
|
211
|
+
ij_typescript_indent_chained_calls = true
|
212
|
+
ij_typescript_indent_package_children = 0
|
213
|
+
ij_typescript_jsdoc_include_types = false
|
214
|
+
ij_typescript_jsx_attribute_value = braces
|
215
|
+
ij_typescript_keep_blank_lines_in_code = 2
|
216
|
+
ij_typescript_keep_first_column_comment = true
|
217
|
+
ij_typescript_keep_indents_on_empty_lines = false
|
218
|
+
ij_typescript_keep_line_breaks = true
|
219
|
+
ij_typescript_keep_simple_blocks_in_one_line = false
|
220
|
+
ij_typescript_keep_simple_methods_in_one_line = false
|
221
|
+
ij_typescript_line_comment_add_space = true
|
222
|
+
ij_typescript_line_comment_at_first_column = false
|
223
|
+
ij_typescript_method_brace_style = end_of_line
|
224
|
+
ij_typescript_method_call_chain_wrap = off
|
225
|
+
ij_typescript_method_parameters_new_line_after_left_paren = false
|
226
|
+
ij_typescript_method_parameters_right_paren_on_new_line = false
|
227
|
+
ij_typescript_method_parameters_wrap = off
|
228
|
+
ij_typescript_object_literal_wrap = on_every_item
|
229
|
+
ij_typescript_object_types_wrap = on_every_item
|
230
|
+
ij_typescript_parentheses_expression_new_line_after_left_paren = false
|
231
|
+
ij_typescript_parentheses_expression_right_paren_on_new_line = false
|
232
|
+
ij_typescript_place_assignment_sign_on_next_line = false
|
233
|
+
ij_typescript_prefer_as_type_cast = false
|
234
|
+
ij_typescript_prefer_explicit_types_function_expression_returns = false
|
235
|
+
ij_typescript_prefer_explicit_types_function_returns = false
|
236
|
+
ij_typescript_prefer_explicit_types_vars_fields = false
|
237
|
+
ij_typescript_prefer_parameters_wrap = false
|
238
|
+
ij_typescript_property_prefix =
|
239
|
+
ij_typescript_reformat_c_style_comments = false
|
240
|
+
ij_typescript_space_after_colon = true
|
241
|
+
ij_typescript_space_after_comma = true
|
242
|
+
ij_typescript_space_after_dots_in_rest_parameter = false
|
243
|
+
ij_typescript_space_after_generator_mult = true
|
244
|
+
ij_typescript_space_after_property_colon = true
|
245
|
+
ij_typescript_space_after_quest = true
|
246
|
+
ij_typescript_space_after_type_colon = true
|
247
|
+
ij_typescript_space_after_unary_not = false
|
248
|
+
ij_typescript_space_before_async_arrow_lparen = true
|
249
|
+
ij_typescript_space_before_catch_keyword = true
|
250
|
+
ij_typescript_space_before_catch_left_brace = true
|
251
|
+
ij_typescript_space_before_catch_parentheses = true
|
252
|
+
ij_typescript_space_before_class_lbrace = true
|
253
|
+
ij_typescript_space_before_class_left_brace = true
|
254
|
+
ij_typescript_space_before_colon = true
|
255
|
+
ij_typescript_space_before_comma = false
|
256
|
+
ij_typescript_space_before_do_left_brace = true
|
257
|
+
ij_typescript_space_before_else_keyword = true
|
258
|
+
ij_typescript_space_before_else_left_brace = true
|
259
|
+
ij_typescript_space_before_finally_keyword = true
|
260
|
+
ij_typescript_space_before_finally_left_brace = true
|
261
|
+
ij_typescript_space_before_for_left_brace = true
|
262
|
+
ij_typescript_space_before_for_parentheses = true
|
263
|
+
ij_typescript_space_before_for_semicolon = false
|
264
|
+
ij_typescript_space_before_function_left_parenth = true
|
265
|
+
ij_typescript_space_before_generator_mult = false
|
266
|
+
ij_typescript_space_before_if_left_brace = true
|
267
|
+
ij_typescript_space_before_if_parentheses = true
|
268
|
+
ij_typescript_space_before_method_call_parentheses = false
|
269
|
+
ij_typescript_space_before_method_left_brace = true
|
270
|
+
ij_typescript_space_before_method_parentheses = false
|
271
|
+
ij_typescript_space_before_property_colon = false
|
272
|
+
ij_typescript_space_before_quest = true
|
273
|
+
ij_typescript_space_before_switch_left_brace = true
|
274
|
+
ij_typescript_space_before_switch_parentheses = true
|
275
|
+
ij_typescript_space_before_try_left_brace = true
|
276
|
+
ij_typescript_space_before_type_colon = false
|
277
|
+
ij_typescript_space_before_unary_not = false
|
278
|
+
ij_typescript_space_before_while_keyword = true
|
279
|
+
ij_typescript_space_before_while_left_brace = true
|
280
|
+
ij_typescript_space_before_while_parentheses = true
|
281
|
+
ij_typescript_spaces_around_additive_operators = true
|
282
|
+
ij_typescript_spaces_around_arrow_function_operator = true
|
283
|
+
ij_typescript_spaces_around_assignment_operators = true
|
284
|
+
ij_typescript_spaces_around_bitwise_operators = true
|
285
|
+
ij_typescript_spaces_around_equality_operators = true
|
286
|
+
ij_typescript_spaces_around_logical_operators = true
|
287
|
+
ij_typescript_spaces_around_multiplicative_operators = true
|
288
|
+
ij_typescript_spaces_around_relational_operators = true
|
289
|
+
ij_typescript_spaces_around_shift_operators = true
|
290
|
+
ij_typescript_spaces_around_unary_operator = false
|
291
|
+
ij_typescript_spaces_within_array_initializer_brackets = false
|
292
|
+
ij_typescript_spaces_within_brackets = false
|
293
|
+
ij_typescript_spaces_within_catch_parentheses = false
|
294
|
+
ij_typescript_spaces_within_for_parentheses = false
|
295
|
+
ij_typescript_spaces_within_if_parentheses = false
|
296
|
+
ij_typescript_spaces_within_imports = false
|
297
|
+
ij_typescript_spaces_within_interpolation_expressions = false
|
298
|
+
ij_typescript_spaces_within_method_call_parentheses = false
|
299
|
+
ij_typescript_spaces_within_method_parentheses = false
|
300
|
+
ij_typescript_spaces_within_object_literal_braces = false
|
301
|
+
ij_typescript_spaces_within_object_type_braces = true
|
302
|
+
ij_typescript_spaces_within_parentheses = false
|
303
|
+
ij_typescript_spaces_within_switch_parentheses = false
|
304
|
+
ij_typescript_spaces_within_type_assertion = false
|
305
|
+
ij_typescript_spaces_within_union_types = true
|
306
|
+
ij_typescript_spaces_within_while_parentheses = false
|
307
|
+
ij_typescript_special_else_if_treatment = true
|
308
|
+
ij_typescript_ternary_operation_signs_on_next_line = false
|
309
|
+
ij_typescript_ternary_operation_wrap = off
|
310
|
+
ij_typescript_union_types_wrap = on_every_item
|
311
|
+
ij_typescript_use_chained_calls_group_indents = false
|
312
|
+
ij_typescript_use_double_quotes = true
|
313
|
+
ij_typescript_use_explicit_js_extension = auto
|
314
|
+
ij_typescript_use_import_type = auto
|
315
|
+
ij_typescript_use_path_mapping = always
|
316
|
+
ij_typescript_use_public_modifier = false
|
317
|
+
ij_typescript_use_semicolon_after_statement = true
|
318
|
+
ij_typescript_var_declaration_wrap = normal
|
319
|
+
ij_typescript_while_brace_force = never
|
320
|
+
ij_typescript_while_on_new_line = false
|
321
|
+
ij_typescript_wrap_comments = false
|
322
|
+
|
323
|
+
[{*.bash,*.sh,*.zsh}]
|
324
|
+
indent_size = 2
|
325
|
+
tab_width = 2
|
326
|
+
ij_shell_binary_ops_start_line = false
|
327
|
+
ij_shell_keep_column_alignment_padding = false
|
328
|
+
ij_shell_minify_program = false
|
329
|
+
ij_shell_redirect_followed_by_space = false
|
330
|
+
ij_shell_switch_cases_indented = false
|
331
|
+
ij_shell_use_unix_line_separator = true
|
332
|
+
|
333
|
+
[{*.cjs,*.js}]
|
334
|
+
ij_continuation_indent_size = 4
|
335
|
+
ij_javascript_align_imports = false
|
336
|
+
ij_javascript_align_multiline_array_initializer_expression = false
|
337
|
+
ij_javascript_align_multiline_binary_operation = false
|
338
|
+
ij_javascript_align_multiline_chained_methods = false
|
339
|
+
ij_javascript_align_multiline_extends_list = false
|
340
|
+
ij_javascript_align_multiline_for = true
|
341
|
+
ij_javascript_align_multiline_parameters = true
|
342
|
+
ij_javascript_align_multiline_parameters_in_calls = false
|
343
|
+
ij_javascript_align_multiline_ternary_operation = false
|
344
|
+
ij_javascript_align_object_properties = 0
|
345
|
+
ij_javascript_align_union_types = false
|
346
|
+
ij_javascript_align_var_statements = 0
|
347
|
+
ij_javascript_array_initializer_new_line_after_left_brace = false
|
348
|
+
ij_javascript_array_initializer_right_brace_on_new_line = false
|
349
|
+
ij_javascript_array_initializer_wrap = off
|
350
|
+
ij_javascript_assignment_wrap = off
|
351
|
+
ij_javascript_binary_operation_sign_on_next_line = false
|
352
|
+
ij_javascript_binary_operation_wrap = off
|
353
|
+
ij_javascript_blacklist_imports = rxjs/Rx,node_modules/**,**/node_modules/**,@angular/material,@angular/material/typings/**
|
354
|
+
ij_javascript_blank_lines_after_imports = 1
|
355
|
+
ij_javascript_blank_lines_around_class = 1
|
356
|
+
ij_javascript_blank_lines_around_field = 0
|
357
|
+
ij_javascript_blank_lines_around_function = 1
|
358
|
+
ij_javascript_blank_lines_around_method = 1
|
359
|
+
ij_javascript_block_brace_style = end_of_line
|
360
|
+
ij_javascript_block_comment_add_space = false
|
361
|
+
ij_javascript_block_comment_at_first_column = true
|
362
|
+
ij_javascript_call_parameters_new_line_after_left_paren = false
|
363
|
+
ij_javascript_call_parameters_right_paren_on_new_line = false
|
364
|
+
ij_javascript_call_parameters_wrap = off
|
365
|
+
ij_javascript_catch_on_new_line = false
|
366
|
+
ij_javascript_chained_call_dot_on_new_line = true
|
367
|
+
ij_javascript_class_brace_style = end_of_line
|
368
|
+
ij_javascript_comma_on_new_line = false
|
369
|
+
ij_javascript_do_while_brace_force = never
|
370
|
+
ij_javascript_else_on_new_line = false
|
371
|
+
ij_javascript_enforce_trailing_comma = keep
|
372
|
+
ij_javascript_extends_keyword_wrap = off
|
373
|
+
ij_javascript_extends_list_wrap = off
|
374
|
+
ij_javascript_field_prefix = _
|
375
|
+
ij_javascript_file_name_style = relaxed
|
376
|
+
ij_javascript_finally_on_new_line = false
|
377
|
+
ij_javascript_for_brace_force = never
|
378
|
+
ij_javascript_for_statement_new_line_after_left_paren = false
|
379
|
+
ij_javascript_for_statement_right_paren_on_new_line = false
|
380
|
+
ij_javascript_for_statement_wrap = off
|
381
|
+
ij_javascript_force_quote_style = false
|
382
|
+
ij_javascript_force_semicolon_style = false
|
383
|
+
ij_javascript_function_expression_brace_style = end_of_line
|
384
|
+
ij_javascript_if_brace_force = never
|
385
|
+
ij_javascript_import_merge_members = global
|
386
|
+
ij_javascript_import_prefer_absolute_path = global
|
387
|
+
ij_javascript_import_sort_members = true
|
388
|
+
ij_javascript_import_sort_module_name = false
|
389
|
+
ij_javascript_import_use_node_resolution = true
|
390
|
+
ij_javascript_imports_wrap = on_every_item
|
391
|
+
ij_javascript_indent_case_from_switch = true
|
392
|
+
ij_javascript_indent_chained_calls = true
|
393
|
+
ij_javascript_indent_package_children = 0
|
394
|
+
ij_javascript_jsx_attribute_value = braces
|
395
|
+
ij_javascript_keep_blank_lines_in_code = 2
|
396
|
+
ij_javascript_keep_first_column_comment = true
|
397
|
+
ij_javascript_keep_indents_on_empty_lines = false
|
398
|
+
ij_javascript_keep_line_breaks = true
|
399
|
+
ij_javascript_keep_simple_blocks_in_one_line = false
|
400
|
+
ij_javascript_keep_simple_methods_in_one_line = false
|
401
|
+
ij_javascript_line_comment_add_space = true
|
402
|
+
ij_javascript_line_comment_at_first_column = false
|
403
|
+
ij_javascript_method_brace_style = end_of_line
|
404
|
+
ij_javascript_method_call_chain_wrap = off
|
405
|
+
ij_javascript_method_parameters_new_line_after_left_paren = false
|
406
|
+
ij_javascript_method_parameters_right_paren_on_new_line = false
|
407
|
+
ij_javascript_method_parameters_wrap = off
|
408
|
+
ij_javascript_object_literal_wrap = on_every_item
|
409
|
+
ij_javascript_object_types_wrap = on_every_item
|
410
|
+
ij_javascript_parentheses_expression_new_line_after_left_paren = false
|
411
|
+
ij_javascript_parentheses_expression_right_paren_on_new_line = false
|
412
|
+
ij_javascript_place_assignment_sign_on_next_line = false
|
413
|
+
ij_javascript_prefer_as_type_cast = false
|
414
|
+
ij_javascript_prefer_explicit_types_function_expression_returns = false
|
415
|
+
ij_javascript_prefer_explicit_types_function_returns = false
|
416
|
+
ij_javascript_prefer_explicit_types_vars_fields = false
|
417
|
+
ij_javascript_prefer_parameters_wrap = false
|
418
|
+
ij_javascript_property_prefix =
|
419
|
+
ij_javascript_reformat_c_style_comments = false
|
420
|
+
ij_javascript_space_after_colon = true
|
421
|
+
ij_javascript_space_after_comma = true
|
422
|
+
ij_javascript_space_after_dots_in_rest_parameter = false
|
423
|
+
ij_javascript_space_after_generator_mult = true
|
424
|
+
ij_javascript_space_after_property_colon = true
|
425
|
+
ij_javascript_space_after_quest = true
|
426
|
+
ij_javascript_space_after_type_colon = true
|
427
|
+
ij_javascript_space_after_unary_not = false
|
428
|
+
ij_javascript_space_before_async_arrow_lparen = true
|
429
|
+
ij_javascript_space_before_catch_keyword = true
|
430
|
+
ij_javascript_space_before_catch_left_brace = true
|
431
|
+
ij_javascript_space_before_catch_parentheses = true
|
432
|
+
ij_javascript_space_before_class_lbrace = true
|
433
|
+
ij_javascript_space_before_class_left_brace = true
|
434
|
+
ij_javascript_space_before_colon = true
|
435
|
+
ij_javascript_space_before_comma = false
|
436
|
+
ij_javascript_space_before_do_left_brace = true
|
437
|
+
ij_javascript_space_before_else_keyword = true
|
438
|
+
ij_javascript_space_before_else_left_brace = true
|
439
|
+
ij_javascript_space_before_finally_keyword = true
|
440
|
+
ij_javascript_space_before_finally_left_brace = true
|
441
|
+
ij_javascript_space_before_for_left_brace = true
|
442
|
+
ij_javascript_space_before_for_parentheses = true
|
443
|
+
ij_javascript_space_before_for_semicolon = false
|
444
|
+
ij_javascript_space_before_function_left_parenth = true
|
445
|
+
ij_javascript_space_before_generator_mult = false
|
446
|
+
ij_javascript_space_before_if_left_brace = true
|
447
|
+
ij_javascript_space_before_if_parentheses = true
|
448
|
+
ij_javascript_space_before_method_call_parentheses = false
|
449
|
+
ij_javascript_space_before_method_left_brace = true
|
450
|
+
ij_javascript_space_before_method_parentheses = false
|
451
|
+
ij_javascript_space_before_property_colon = false
|
452
|
+
ij_javascript_space_before_quest = true
|
453
|
+
ij_javascript_space_before_switch_left_brace = true
|
454
|
+
ij_javascript_space_before_switch_parentheses = true
|
455
|
+
ij_javascript_space_before_try_left_brace = true
|
456
|
+
ij_javascript_space_before_type_colon = false
|
457
|
+
ij_javascript_space_before_unary_not = false
|
458
|
+
ij_javascript_space_before_while_keyword = true
|
459
|
+
ij_javascript_space_before_while_left_brace = true
|
460
|
+
ij_javascript_space_before_while_parentheses = true
|
461
|
+
ij_javascript_spaces_around_additive_operators = true
|
462
|
+
ij_javascript_spaces_around_arrow_function_operator = true
|
463
|
+
ij_javascript_spaces_around_assignment_operators = true
|
464
|
+
ij_javascript_spaces_around_bitwise_operators = true
|
465
|
+
ij_javascript_spaces_around_equality_operators = true
|
466
|
+
ij_javascript_spaces_around_logical_operators = true
|
467
|
+
ij_javascript_spaces_around_multiplicative_operators = true
|
468
|
+
ij_javascript_spaces_around_relational_operators = true
|
469
|
+
ij_javascript_spaces_around_shift_operators = true
|
470
|
+
ij_javascript_spaces_around_unary_operator = false
|
471
|
+
ij_javascript_spaces_within_array_initializer_brackets = false
|
472
|
+
ij_javascript_spaces_within_brackets = false
|
473
|
+
ij_javascript_spaces_within_catch_parentheses = false
|
474
|
+
ij_javascript_spaces_within_for_parentheses = false
|
475
|
+
ij_javascript_spaces_within_if_parentheses = false
|
476
|
+
ij_javascript_spaces_within_imports = false
|
477
|
+
ij_javascript_spaces_within_interpolation_expressions = false
|
478
|
+
ij_javascript_spaces_within_method_call_parentheses = false
|
479
|
+
ij_javascript_spaces_within_method_parentheses = false
|
480
|
+
ij_javascript_spaces_within_object_literal_braces = false
|
481
|
+
ij_javascript_spaces_within_object_type_braces = true
|
482
|
+
ij_javascript_spaces_within_parentheses = false
|
483
|
+
ij_javascript_spaces_within_switch_parentheses = false
|
484
|
+
ij_javascript_spaces_within_type_assertion = false
|
485
|
+
ij_javascript_spaces_within_union_types = true
|
486
|
+
ij_javascript_spaces_within_while_parentheses = false
|
487
|
+
ij_javascript_special_else_if_treatment = true
|
488
|
+
ij_javascript_ternary_operation_signs_on_next_line = false
|
489
|
+
ij_javascript_ternary_operation_wrap = off
|
490
|
+
ij_javascript_union_types_wrap = on_every_item
|
491
|
+
ij_javascript_use_chained_calls_group_indents = false
|
492
|
+
ij_javascript_use_double_quotes = true
|
493
|
+
ij_javascript_use_explicit_js_extension = auto
|
494
|
+
ij_javascript_use_import_type = auto
|
495
|
+
ij_javascript_use_path_mapping = always
|
496
|
+
ij_javascript_use_public_modifier = false
|
497
|
+
ij_javascript_use_semicolon_after_statement = true
|
498
|
+
ij_javascript_var_declaration_wrap = normal
|
499
|
+
ij_javascript_while_brace_force = never
|
500
|
+
ij_javascript_while_on_new_line = false
|
501
|
+
ij_javascript_wrap_comments = false
|
502
|
+
|
503
|
+
[{*.har,*.jsb2,*.jsb3,*.json,*.jsonc,*.postman_collection,*.postman_collection.json,*.postman_environment,*.postman_environment.json,.babelrc,.eslintrc,.prettierrc,.stylelintrc,bowerrc,jest.config}]
|
504
|
+
indent_size = 2
|
505
|
+
ij_json_array_wrapping = split_into_lines
|
506
|
+
ij_json_keep_blank_lines_in_code = 0
|
507
|
+
ij_json_keep_indents_on_empty_lines = false
|
508
|
+
ij_json_keep_line_breaks = true
|
509
|
+
ij_json_keep_trailing_comma = false
|
510
|
+
ij_json_object_wrapping = split_into_lines
|
511
|
+
ij_json_property_alignment = do_not_align
|
512
|
+
ij_json_space_after_colon = true
|
513
|
+
ij_json_space_after_comma = true
|
514
|
+
ij_json_space_before_colon = false
|
515
|
+
ij_json_space_before_comma = false
|
516
|
+
ij_json_spaces_within_braces = false
|
517
|
+
ij_json_spaces_within_brackets = false
|
518
|
+
ij_json_wrap_long_lines = false
|
519
|
+
|
520
|
+
[{*.htm,*.html,*.ng,*.sht,*.shtm,*.shtml}]
|
521
|
+
ij_html_add_new_line_before_tags = body,div,p,form,h1,h2,h3
|
522
|
+
ij_html_align_attributes = true
|
523
|
+
ij_html_align_text = false
|
524
|
+
ij_html_attribute_wrap = normal
|
525
|
+
ij_html_block_comment_add_space = false
|
526
|
+
ij_html_block_comment_at_first_column = true
|
527
|
+
ij_html_do_not_align_children_of_min_lines = 0
|
528
|
+
ij_html_do_not_break_if_inline_tags = title,h1,h2,h3,h4,h5,h6,p
|
529
|
+
ij_html_do_not_indent_children_of_tags = html,body,thead,tbody,tfoot
|
530
|
+
ij_html_enforce_quotes = false
|
531
|
+
ij_html_inline_tags = a,abbr,acronym,b,basefont,bdo,big,br,cite,cite,code,dfn,em,font,i,img,input,kbd,label,q,s,samp,select,small,span,strike,strong,sub,sup,textarea,tt,u,var
|
532
|
+
ij_html_keep_blank_lines = 2
|
533
|
+
ij_html_keep_indents_on_empty_lines = false
|
534
|
+
ij_html_keep_line_breaks = true
|
535
|
+
ij_html_keep_line_breaks_in_text = true
|
536
|
+
ij_html_keep_whitespaces = false
|
537
|
+
ij_html_keep_whitespaces_inside = span,pre,textarea
|
538
|
+
ij_html_line_comment_at_first_column = true
|
539
|
+
ij_html_new_line_after_last_attribute = never
|
540
|
+
ij_html_new_line_before_first_attribute = never
|
541
|
+
ij_html_quote_style = double
|
542
|
+
ij_html_remove_new_line_before_tags = br
|
543
|
+
ij_html_space_after_tag_name = false
|
544
|
+
ij_html_space_around_equality_in_attribute = false
|
545
|
+
ij_html_space_inside_empty_tag = false
|
546
|
+
ij_html_text_wrap = normal
|
547
|
+
|
548
|
+
[{*.http,*.rest}]
|
549
|
+
indent_size = 0
|
550
|
+
ij_continuation_indent_size = 4
|
551
|
+
ij_http-request_call_parameters_wrap = normal
|
552
|
+
ij_http-request_method_parameters_wrap = split_into_lines
|
553
|
+
ij_http-request_space_before_comma = true
|
554
|
+
ij_http-request_spaces_around_assignment_operators = true
|
555
|
+
|
556
|
+
[{*.markdown,*.md}]
|
557
|
+
ij_markdown_force_one_space_after_blockquote_symbol = true
|
558
|
+
ij_markdown_force_one_space_after_header_symbol = true
|
559
|
+
ij_markdown_force_one_space_after_list_bullet = true
|
560
|
+
ij_markdown_force_one_space_between_words = true
|
561
|
+
ij_markdown_format_tables = true
|
562
|
+
ij_markdown_insert_quote_arrows_on_wrap = true
|
563
|
+
ij_markdown_keep_indents_on_empty_lines = false
|
564
|
+
ij_markdown_keep_line_breaks_inside_text_blocks = true
|
565
|
+
ij_markdown_max_lines_around_block_elements = 1
|
566
|
+
ij_markdown_max_lines_around_header = 1
|
567
|
+
ij_markdown_max_lines_between_paragraphs = 1
|
568
|
+
ij_markdown_min_lines_around_block_elements = 1
|
569
|
+
ij_markdown_min_lines_around_header = 1
|
570
|
+
ij_markdown_min_lines_between_paragraphs = 1
|
571
|
+
ij_markdown_wrap_text_if_long = true
|
572
|
+
ij_markdown_wrap_text_inside_blockquotes = true
|
573
|
+
|
574
|
+
[{*.toml,Cargo.lock,Cargo.toml.orig,Gopkg.lock,Pipfile,poetry.lock}]
|
575
|
+
ij_toml_keep_indents_on_empty_lines = false
|
576
|
+
|
577
|
+
[{*.yaml,*.yml}]
|
578
|
+
indent_size = 2
|
579
|
+
ij_yaml_align_values_properties = do_not_align
|
580
|
+
ij_yaml_autoinsert_sequence_marker = true
|
581
|
+
ij_yaml_block_mapping_on_new_line = false
|
582
|
+
ij_yaml_indent_sequence_value = true
|
583
|
+
ij_yaml_keep_indents_on_empty_lines = false
|
584
|
+
ij_yaml_keep_line_breaks = true
|
585
|
+
ij_yaml_sequence_on_new_line = false
|
586
|
+
ij_yaml_space_before_colon = false
|
587
|
+
ij_yaml_spaces_within_braces = true
|
588
|
+
ij_yaml_spaces_within_brackets = true
|
package/.idea/vcs.xml
CHANGED
@@ -1,5 +1,5 @@
|
|
1
|
-
import {
|
2
|
-
import {
|
1
|
+
import {readFileSync, writeFileSync} from "fs";
|
2
|
+
import {execSync} from "child_process";
|
3
3
|
|
4
4
|
var GithubToken = process.argv[2];
|
5
5
|
var PRNumber = process.argv[3];
|
@@ -24,11 +24,23 @@ console.log("Last JSON version : " + LastJSONVersion);
|
|
24
24
|
console.log("Last PR : " + LastPR);
|
25
25
|
console.log("Last type : " + LastType);
|
26
26
|
console.log("npm version : " + NpmVersion);
|
27
|
+
|
28
|
+
if (JSONFileContent.includes('//ci-no-touch')) {
|
29
|
+
var updatedContent = JSONFileContent.replace('//ci-no-touch', '');
|
30
|
+
writeFileSync(JSONFileName, updatedContent, "utf8");
|
31
|
+
console.log('I won\'t touch this. Exiting process.');
|
32
|
+
process.exit(0);
|
33
|
+
}
|
27
34
|
if (LastJSONVersion != LastJSVersion) {
|
28
35
|
console.error("XMOJ.user.js and Update.json have different patch versions.");
|
29
36
|
process.exit(1);
|
30
37
|
}
|
31
|
-
|
38
|
+
if (LastType == "Release") {
|
39
|
+
console.error("Last release is not a prerelease.");
|
40
|
+
execSync("gh pr comment " + PRNumber + " --body \"请重新提交PR, 谢谢");
|
41
|
+
execSync("gh pr close " + PRNumber);
|
42
|
+
process.exit(1);
|
43
|
+
}
|
32
44
|
execSync("git config --global user.email \"github-actions[bot]@users.noreply.github.com\"");
|
33
45
|
execSync("git config --global user.name \"github-actions[bot]\"");
|
34
46
|
|