소스 검색

Add precommit lint to json file (#6855)

arthur791004 2 년 전
부모
커밋
900efd2b5a
1개의 변경된 파일3개의 추가작업 그리고 0개의 파일을 삭제
  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": {