Skip to content

Commit

Permalink
style: fix eslint errors
Browse files Browse the repository at this point in the history
  • Loading branch information
coderbyheart committed May 24, 2024
1 parent f6071ae commit b5f6210
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion cdk/HostingStack.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import type { App } from 'aws-cdk-lib'
import {
App,
aws_certificatemanager as CertificateManager,
aws_cloudfront as Cf,
aws_cloudfront_origins as CfOrigins,
Expand Down
2 changes: 1 addition & 1 deletion cdk/ensureGitHubOIDCProvider.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import type { IAMClient } from '@aws-sdk/client-iam'
import {
CreateOpenIDConnectProviderCommand,
GetOpenIDConnectProviderCommand,
IAMClient,
ListOpenIDConnectProvidersCommand,
} from '@aws-sdk/client-iam'
import chalk from 'chalk'
Expand Down
3 changes: 2 additions & 1 deletion src/context/DeviceState.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import { Context, Shadow } from '@hello.nrfcloud.com/proto/hello'
import type { Shadow } from '@hello.nrfcloud.com/proto/hello'
import { Context } from '@hello.nrfcloud.com/proto/hello'
import { type Static } from '@sinclair/typebox'
import { createContext, type ComponentChildren } from 'preact'
import { useContext, useEffect, useState } from 'preact/hooks'
Expand Down
3 changes: 2 additions & 1 deletion src/utils/validatingFetch.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@ import {
formatTypeBoxErrors,
validateWithTypeBox,
} from '@hello.nrfcloud.com/proto'
import { Context, ProblemDetail } from '@hello.nrfcloud.com/proto/hello'
import type { ProblemDetail } from '@hello.nrfcloud.com/proto/hello'
import { Context } from '@hello.nrfcloud.com/proto/hello'
import { type Static, type TObject } from '@sinclair/typebox'

type OkFN<T extends TObject> = (value: Static<T>) => void
Expand Down

0 comments on commit b5f6210

Please sign in to comment.