From 7fe44050f175b6b85f879f6ec1528f3173a91a08 Mon Sep 17 00:00:00 2001 From: Alf Eaton Date: Thu, 6 Oct 2022 09:27:39 +0100 Subject: [PATCH] Merge pull request #9831 from overleaf/ae-format-json [web] Add .json to Prettier file extensions GitOrigin-RevId: 60ee89c8a2980c7b571878e21f72ef66fce0d533 --- services/web/package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/services/web/package.json b/services/web/package.json index 84d42ea354..b233c46825 100644 --- a/services/web/package.json +++ b/services/web/package.json @@ -22,8 +22,8 @@ "webpack": "webpack serve --config webpack.config.dev.js", "webpack:production": "webpack --config webpack.config.prod.js", "webpack:profile": "webpack --config webpack.config.prod.js --profile --json > stats.json", - "format": "prettier --list-different $PWD/'**/*.{js,mjs,ts,tsx}'", - "format:fix": "prettier --write $PWD/'**/*.{js,mjs,ts,tsx}'", + "format": "prettier --list-different $PWD/'**/*.{js,mjs,ts,tsx,json}'", + "format:fix": "prettier --write $PWD/'**/*.{js,mjs,ts,tsx,json}'", "format:styles": "prettier --list-different $PWD/'**/*.less'", "format:styles:fix": "prettier --write $PWD/'**/*.less'", "lint": "eslint --max-warnings 0 --format unix --ext .js,.mjs,.ts,.tsx .",