Skip to content

Commit

Permalink
fix format ci (#1504)
Browse files Browse the repository at this point in the history
* don't use pretty-quick
  • Loading branch information
turbocrime authored Jul 18, 2024
1 parent 1a269d4 commit 11e9b7f
Show file tree
Hide file tree
Showing 6 changed files with 193 additions and 46 deletions.
5 changes: 1 addition & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,10 @@
"dev:pack": "turbo dev:pack --concurrency 16",
"format": "turbo format",
"format:prettier": "prettier --write .",
"format:pretty-quick": "pretty-quick",
"format:syncpack": "syncpack format",
"lint": "turbo lint",
"lint:fix": "turbo lint -- --fix",
"lint:prettier": "prettier --check .",
"lint:pretty-quick": "pretty-quick --check",
"lint:rust": "turbo lint:rust",
"lint:strict": "turbo lint:strict",
"lint:syncpack": "syncpack lint",
Expand Down Expand Up @@ -79,8 +77,7 @@
"eslint-plugin-vitest": "^0.5.4",
"jsdom": "^24.0.0",
"playwright": "^1.44.0",
"prettier": "^3.2.5",
"pretty-quick": "^4.0.0",
"prettier": "^3.3.3",
"syncpack": "^12.3.2",
"tailwindcss": "^3.4.3",
"tailwindcss-animate": "^1.0.7",
Expand Down
2 changes: 1 addition & 1 deletion packages/getters/src/swap-view.ts
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,6 @@ export const getClaimTx = createGetter((swapView?: SwapView) =>
*/
export const getAddressView = createGetter((swapView?: SwapView) =>
swapView?.swapView.case === 'visible'
? swapView.swapView.value.output1?.address ?? swapView.swapView.value.output2?.address
? (swapView.swapView.value.output1?.address ?? swapView.swapView.value.output2?.address)
: undefined,
);
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ interface PenumbraContextProviderProps {
penumbra?: PenumbraProvider;
makeApprovalRequest?: boolean;
transportOpts?: Omit<ChannelTransportOptions, 'getPort'>;
}
}

export const PenumbraContextProvider = ({
children,
Expand Down
2 changes: 1 addition & 1 deletion packages/transport-chrome/src/session-client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ const localErrorJson = (err: unknown, relevantMessage?: unknown) =>
typeof err === 'function'
? err.name
: typeof err === 'object'
? (Object.getPrototypeOf(err) as unknown)?.constructor?.name ?? String(err)
? ((Object.getPrototypeOf(err) as unknown)?.constructor?.name ?? String(err))
: typeof err,
),
value: err,
Expand Down
222 changes: 187 additions & 35 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 11e9b7f

Please sign in to comment.