Tell the IDE to not remove empty lines in JSON files

This commit is contained in:
Ampflower 🌺 2025-03-12 00:23:52 -07:00
parent 73a7b549b1
commit c1284dd9e2
No known key found for this signature in database
GPG Key ID: FC0397C90D508D7F
3 changed files with 25 additions and 1 deletions

22
.editorconfig Normal file
View File

@ -0,0 +1,22 @@
root = true
[*]
charset = utf-8
end_of_line = lf
trim_trailing_whitespace = true
insert_final_newline = true
indent_style = space
indent_size = 4
ij_any_keep_line_breaks = true
[{*.yml,*.yaml}]
indent_size = 2
[*.json]
indent_size = 2
ij_json_array_wrapping = normal
ij_json_object_wrapping = normal
ij_json_keep_blank_lines_in_code = 1
[*.bat]
end_of_line = crlf

View File

@ -0,0 +1,2 @@
[*.json]
ij_json_property_alignment = do_not_align