Browse Source

Add precommit lint to json file (#6855)

arthur791004 2 năm trước cách đây
mục cha
commit
900efd2b5a
1 tập tin đã thay đổi với 3 bổ sung0 xóa
  1. 3 0
      package.json

+ 3 - 0
package.json

@@ -55,6 +55,9 @@
 	"lint-staged": {
 		"*.scss": [
 			"wp-scripts lint-style --fix --custom-syntax postcss-scss"
+		],
+		"*.json": [
+			"wp-scripts format"
 		]
 	},
 	"dependencies": {