From e45f531319b61eb7252955b65f754189a399b197 Mon Sep 17 00:00:00 2001 From: Caleb Date: Tue, 2 Jan 2018 16:57:39 -0700 Subject: [PATCH] Format JSON files. Currently we store JSON as a single line in files. We should prettify it like we do the other formats. --- src/formats/json.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/formats/json.js b/src/formats/json.js index ff13771c..f7579b9a 100644 --- a/src/formats/json.js +++ b/src/formats/json.js @@ -4,6 +4,6 @@ export default { }, toFile(data) { - return JSON.stringify(data); + return JSON.stringify(data, null, 2); } }