2023-09-04 10:04:56 +08:00
|
|
|
root = true
|
|
|
|
|
|
|
|
[*]
|
|
|
|
charset = utf-8
|
|
|
|
indent_size = 2
|
|
|
|
indent_style = space
|
|
|
|
tab_width = 2
|
|
|
|
insert_final_newline = true
|
|
|
|
end_of_line = lf
|
|
|
|
trim_trailing_whitespace = true
|
|
|
|
max_line_length = off
|
2023-09-04 10:25:18 +08:00
|
|
|
ij_any_space_before_colon = true
|
|
|
|
ij_any_space_after_colon = true
|
2023-09-04 10:45:59 +08:00
|
|
|
ij_any_keep_indents_on_empty_lines = false
|
2023-09-06 11:37:42 +08:00
|
|
|
|
|
|
|
[{*.cjs,*.js}]
|
|
|
|
ij_javascript_align_imports = false
|
2023-09-04 10:40:44 +08:00
|
|
|
ij_javascript_use_semicolon_after_statement = false
|
2023-09-04 10:25:18 +08:00
|
|
|
ij_javascript_use_double_quotes = false
|
2023-09-04 10:40:44 +08:00
|
|
|
ij_javascript_enforce_trailing_comma = keep
|
2023-09-06 11:37:42 +08:00
|
|
|
ij_javascript_space_before_method_parentheses = true
|
|
|
|
ij_javascript_spaces_within_object_literal_braces = true
|
|
|
|
ij_javascript_indent_chained_calls = true
|
2023-09-06 15:33:46 +08:00
|
|
|
ij_javascript_if_brace_force = if_multiline
|
2023-09-04 10:40:44 +08:00
|
|
|
|
2023-09-06 11:37:42 +08:00
|
|
|
[{*.json,*.json5}]
|
2023-09-04 10:40:44 +08:00
|
|
|
ij_json_keep_trailing_comma = false
|
2023-09-06 11:37:42 +08:00
|
|
|
ij_json_keep_blank_lines_in_code = 0
|
|
|
|
ij_json_keep_indents_on_empty_lines = false
|
|
|
|
ij_json_space_after_colon = true
|
|
|
|
ij_json_space_after_comma = true
|
|
|
|
ij_json_space_before_colon = false
|
|
|
|
ij_json_space_before_comma = false
|
|
|
|
ij_json_spaces_within_braces = false
|
|
|
|
ij_json_spaces_within_brackets = false
|