Skip to content

Commit

Permalink
feat: add prettier scripts in package.json
Browse files Browse the repository at this point in the history
  • Loading branch information
pavanjoshi914 committed Sep 26, 2024
1 parent 62697c0 commit fb3987d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .prettierignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# Ignore artifacts:
build
coverage
node_modules
node_modules
assets/**
2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@
"eas:build:android": "eas build --platform android",
"eas:build:ios": "eas build --platform ios",
"eas:submit:ios": "eas submit -p ios --latest",
"format": "prettier --check '**/*.{js,ts,tsx,md,json}'",
"format:fix": "prettier --loglevel silent --write '**/*.{js,ts,tsx,md,json}'",
"ts:check": "tsc",
"prepare": "husky"
},
Expand Down

0 comments on commit fb3987d

Please sign in to comment.