Skip to content

Commit e45f531

Browse files
tech4him1erquhart
authored andcommitted
Format JSON files.
Currently we store JSON as a single line in files. We should prettify it like we do the other formats.
1 parent 1167f27 commit e45f531

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/formats/json.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,6 @@ export default {
44
},
55

66
toFile(data) {
7-
return JSON.stringify(data);
7+
return JSON.stringify(data, null, 2);
88
}
99
}

0 commit comments

Comments
 (0)