Skip to content

Commit

Permalink
ci: check file formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
edgarkhanzadian authored and kyranjamie committed Jun 5, 2024
1 parent e4a0f65 commit 0525c29
Show file tree
Hide file tree
Showing 10 changed files with 10 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/code-checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
- uses: actions/checkout@v4
- uses: ./.github/actions/provision
- name: Lint Prettier
run: pnpm format
run: pnpm format:check

lint-syncpack:
runs-on: ubuntu-latest
Expand Down
1 change: 1 addition & 0 deletions apps/mobile/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
"eas-build-post-install": "cd ../.. && pnpm build",
"eas-build-pre-install": "./eas-hooks/eas-build-pre-install.sh",
"format": "prettier --write \"src/**/*.{ts,tsx}\" --ignore-path ../../.prettierignore",
"format:check": "prettier --check \"src/**/*.{ts,tsx}\" --ignore-path ../../.prettierignore",
"ios": "expo run:ios",
"ios:build": "expo run:ios --no-bundler",
"lint": "eslint . --ignore-path ../../.eslintignore",
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
"clean": "git clean -dfX",
"dev": "turbo run build:watch",
"format": "turbo run format",
"format:check": "turbo run format:check",
"install:clean": "rm -rf \"**/node_modules\" && pnpm -r clean",
"install:fresh": "pnpm install:clean && pnpm i",
"install:nuke": "rm -rf pnpm-lock.yaml && pnpm install:fresh",
Expand Down
1 change: 1 addition & 0 deletions packages/bitcoin/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
"build": "tsup",
"build:watch": "tsup --watch",
"format": "prettier . --write --ignore-path ../../.prettierignore",
"format:check": "prettier . --check --ignore-path ../../.prettierignore",
"lint": "eslint . --fix --ignore-path ../../.eslintignore",
"lint:fix": "eslint . --fix --ignore-path ../../.eslintignore",
"test:coverage": "vitest run --coverage",
Expand Down
1 change: 1 addition & 0 deletions packages/constants/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
"build": "tsup ",
"build:watch": "tsup --watch",
"format": "prettier . --write --ignore-path ../../.prettierignore",
"format:check": "prettier . --check --ignore-path ../../.prettierignore",
"lint": "eslint . --ignore-path ../../.eslintignore",
"lint:fix": "eslint . --fix --ignore-path ../../.eslintignore",
"typecheck": "tsc --noEmit"
Expand Down
1 change: 1 addition & 0 deletions packages/models/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
"build": "tsup",
"build:watch": "tsup --watch",
"format": "prettier . --write --ignore-path ../../.prettierignore",
"format:check": "prettier . --check --ignore-path ../../.prettierignore",
"lint": "eslint . --ignore-path ../../.eslintignore",
"lint:fix": "eslint . --fix --ignore-path ../../.eslintignore",
"typecheck": "tsc --noEmit -p ./tsconfig.json"
Expand Down
1 change: 1 addition & 0 deletions packages/query/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
"build": "tsup index.ts --format esm && tsc --emitDeclarationOnly",
"build:watch": "concurrently \"tsc --build --watch --preserveWatchOutput --emitDeclarationOnly\" \"tsup index.ts --format esm --watch \" ",
"format": "prettier . --write --ignore-path ../../.prettierignore",
"format:check": "prettier . --check --ignore-path ../../.prettierignore",
"lint": "eslint . --ignore-path ../../.eslintignore",
"lint:fix": "eslint . --fix --ignore-path ../../.eslintignore",
"test:coverage": "vitest run --coverage",
Expand Down
1 change: 1 addition & 0 deletions packages/ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
"build:watch": "concurrently \"pnpm panda:watch\" \"pnpm build:native --watch --preserveWatchOutput\" \"pnpm build:web --watch --preserveWatchOutput\" \"pnpm build:all --watch --preserveWatchOutput\" ",
"build:web": "pnpm assets:web && tsc -p ./tsconfig.web.json",
"format": "prettier . --write \"src/**/*.{ts,tsx}\" --ignore-path ../../.prettierignore",
"format:check": "prettier . --check \"src/**/*.{ts,tsx}\" --ignore-path ../../.prettierignore",
"lint": "eslint . --ignore-path ../../.eslintignore",
"lint:fix": "eslint . --fix --ignore-path ../../.eslintignore",
"panda": "panda codegen -c ./panda.config.ts",
Expand Down
1 change: 1 addition & 0 deletions packages/utils/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
"build": "tsup",
"build:watch": "tsup --watch",
"format": "prettier . --write --ignore-path ../../.prettierignore",
"format:check": "prettier . --check --ignore-path ../../.prettierignore",
"lint": "eslint . --ignore-path ../../.eslintignore",
"lint:fix": "eslint . --fix --ignore-path ../../.eslintignore",
"test:coverage": "vitest run --coverage",
Expand Down
1 change: 1 addition & 0 deletions turbo.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
},
"build:watch": {},
"format": {},
"format:check": {},
"lint": {
"inputs": ["src/**"],
"outputs": [],
Expand Down

0 comments on commit 0525c29

Please sign in to comment.