Explorar o código

Add precommit lint to json file (#6855)

arthur791004 %!s(int64=2) %!d(string=hai) anos
pai
achega
900efd2b5a
Modificáronse 1 ficheiros con 3 adicións e 0 borrados
  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": {