mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-06-05 21:03:40 +00:00
.editorconfig: don't force final newline for JSON
JSON is often automatically generated and adding a final newline is a
manual step, that we shouldn't enforce.
(cherry picked from commit 1d914bc2f1)
This commit is contained in:
committed by
Adam C. Stephens
parent
1eadb684fc
commit
130da6c5ba
@@ -64,6 +64,9 @@ insert_final_newline = unset
|
||||
end_of_line = unset
|
||||
trim_trailing_whitespace = unset
|
||||
|
||||
[*.json]
|
||||
insert_final_newline = unset
|
||||
|
||||
[*.lock]
|
||||
indent_size = unset
|
||||
|
||||
|
||||
Reference in New Issue
Block a user