From 61c17ca5a0bef556179d7f0bec9c8db8198a8765 Mon Sep 17 00:00:00 2001 From: Amanda Mitchell Date: Wed, 11 Nov 2020 12:37:55 -0800 Subject: [PATCH] chore: Prettify json files on commit. --- lint-staged.config.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/lint-staged.config.js b/lint-staged.config.js index 6162b36..d782206 100644 --- a/lint-staged.config.js +++ b/lint-staged.config.js @@ -1 +1,5 @@ -module.exports = { '*.js': ['prettier --write'], '*.md': ['prettier --write'] }; +module.exports = { + '*.js': ['prettier --write'], + '*.md': ['prettier --write'], + '*.json': ['prettier --write'], +};