Skip to content

Commit 55ffba7

Browse files
committed
feat: scripts for prettierrc
1 parent 1739647 commit 55ffba7

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

package.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@
1919
"terraform": "yarn workspace @kadena-indexer/terraform",
2020
"run-terraform-workflow": "act -W .github/workflows/terraform.yml -P ubuntu-latest=-self-hosted --artifact-server-path ./.github/workflows/.artifacts/ --secret-file ./terraform/.env",
2121
"run-indexer-workflow": "act -W .github/workflows/indexer.yml --secret-file ./indexer/.env",
22+
"format": "prettier --write \"**/*.{yml,yaml,json,md,js,ts}\"",
23+
"format:check": "prettier --check \"**/*.{yml,yaml,json,md,js,ts}\"",
2224
"prepare": "husky"
2325
},
2426
"dependencies": {},
@@ -28,7 +30,7 @@
2830
"prettier": "^3.5.1"
2931
},
3032
"lint-staged": {
31-
"*.{yml,yaml,go,json,md,js,ts,env.*}": [
33+
"*.{yml,yaml,go,json,md,js,ts}": [
3234
"prettier --write"
3335
]
3436
}

0 commit comments

Comments
 (0)