Skip to content
This repository has been archived by the owner on Nov 25, 2024. It is now read-only.

Commit

Permalink
style: fix eslint errors
Browse files Browse the repository at this point in the history
  • Loading branch information
coderbyheart committed May 25, 2024
1 parent 1fced37 commit f1965b8
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 9 deletions.
3 changes: 2 additions & 1 deletion aws/env.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import { GetCallerIdentityCommand, STSClient } from '@aws-sdk/client-sts'
import type { STSClient } from '@aws-sdk/client-sts'
import { GetCallerIdentityCommand } from '@aws-sdk/client-sts'
import type { Environment } from 'aws-cdk-lib'

export const env = async ({
Expand Down
3 changes: 2 additions & 1 deletion cdk/BackendStack.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import { LambdaSource } from '@bifravst/aws-cdk-lambda-helpers/cdk'
import type { PackedLayer } from '@bifravst/aws-cdk-lambda-helpers/layer'
import { App, aws_lambda as Lambda, Stack, type Environment } from 'aws-cdk-lib'
import type { App } from 'aws-cdk-lib'
import { aws_lambda as Lambda, Stack, type Environment } from 'aws-cdk-lib'
import type { BackendLambdas } from './packBackendLambdas.js'
import { ConvertDeviceMessages } from './resources/ConvertDeviceMessages.js'
import { STACK_NAME } from './stackConfig.js'
Expand Down
2 changes: 1 addition & 1 deletion cdk/layers/baseLayer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import {
packLayer,
type PackedLayer,
} from '@bifravst/aws-cdk-lambda-helpers/layer'
import pJson from '../../package.json'
import type pJson from '../../package.json'

const dependencies: Array<keyof (typeof pJson)['dependencies']> = [
'@aws-lambda-powertools/metrics',
Expand Down
8 changes: 2 additions & 6 deletions cdk/resources/ConvertDeviceMessages.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,8 @@ import {
IoTActionRole,
PackedLambdaFn,
} from '@bifravst/aws-cdk-lambda-helpers/cdk'
import {
aws_iam as IAM,
aws_iot as IoT,
aws_lambda as Lambda,
Stack,
} from 'aws-cdk-lib'
import type { aws_lambda as Lambda } from 'aws-cdk-lib'
import { aws_iam as IAM, aws_iot as IoT, Stack } from 'aws-cdk-lib'
import { Construct } from 'constructs'
import type { BackendLambdas } from '../packBackendLambdas.js'

Expand Down

0 comments on commit f1965b8

Please sign in to comment.