Skip to content

Commit 3478f65

Browse files
authored
style(app): apply project autofix (#24)
1 parent 97dc1f6 commit 3478f65

2 files changed

Lines changed: 3 additions & 4 deletions

File tree

packages/app/examples/strict-error-handling.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@ const apiClient = createClientEffect<Paths>(clientOptions)
3131
const listPetsProgram = apiClient.GET("/pets", {
3232
params: { query: { limit: 10 } }
3333
}).pipe(
34-
Effect.flatMap((success) =>
35-
Match.value(success).pipe(
34+
Effect.flatMap((success) =>
35+
Match.value(success).pipe(
3636
Match.when({ status: 200 }, ({ body }) => Console.log(`Got ${body.length} pets`)),
3737
Match.exhaustive
3838
)

packages/app/vite.config.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,7 @@ const pkgPath = path.resolve(__dirname, "package.json")
1919
const pkg = JSON.parse(fs.readFileSync(pkgPath, "utf8")) as Pkg
2020
const dependencies = [...Object.keys(pkg.dependencies ?? {}), ...Object.keys(pkg.peerDependencies ?? {})]
2121

22-
const isExternal = (id: string): boolean =>
23-
dependencies.some((dep) => id === dep || id.startsWith(`${dep}/`))
22+
const isExternal = (id: string): boolean => dependencies.some((dep) => id === dep || id.startsWith(`${dep}/`))
2423

2524
export default defineConfig({
2625
plugins: [tsconfigPaths()],

0 commit comments

Comments
 (0)