Skip to content

Commit cc14d27

Browse files
committed
style: apply lint fixes
1 parent 7f544d0 commit cc14d27

File tree

3 files changed

+10
-12
lines changed

3 files changed

+10
-12
lines changed

playground/vite.config.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
1+
import * as rootPackage from '@namesmt/utils-lambda'
12
import { defineConfig } from 'vite'
23
import Inspect from 'vite-plugin-inspect'
3-
import * as rootPackage from '@namesmt/utils-lambda'
44

5-
// eslint-disable-next-line no-console
65
console.log({ rootPackage: JSON.stringify(rootPackage) })
76

87
export default defineConfig({

src/types.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
import type {
22
ALBEvent,
3+
AmplifyGraphQlResolverEvent,
34
APIGatewayProxyEvent,
45
APIGatewayProxyEventV2,
5-
AmplifyGraphQlResolverEvent,
66
CloudWatchAlarmEvent,
77
CodeCommitTriggerEvent,
88
CodePipelineCloudWatchEvent,
@@ -24,14 +24,13 @@ import type {
2424
PreTokenGenerationV2TriggerEvent,
2525
S3Event,
2626
S3NotificationEvent,
27+
SelfManagedKafkaEvent,
2728
SESEvent,
2829
SNSEvent,
2930
SQSEvent,
30-
SelfManagedKafkaEvent,
3131
UserMigrationTriggerEvent,
3232
VerifyAuthChallengeResponseTriggerEvent,
3333
} from 'aws-lambda'
34-
3534
import type { ValueOf } from 'type-fest'
3635

3736
/**

src/utils.ts

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
1-
import { Buffer } from 'node:buffer'
2-
import type { InputType } from 'node:zlib'
3-
import { brotliCompress, brotliCompressSync, brotliDecompress, brotliDecompressSync, gunzip, gunzipSync, gzip, gzipSync, constants as zlibConstants } from 'node:zlib'
4-
import { promisify } from 'node:util'
5-
import { destr } from 'destr'
6-
import { DetailedError, objectPick, objectSet } from '@namesmt/utils'
1+
import type { InvokeCommandOutput } from '@aws-sdk/client-lambda'
72
import type { APIGatewayProxyEvent, APIGatewayProxyEventV2, APIGatewayProxyStructuredResultV2 } from 'aws-lambda'
3+
import type { InputType } from 'node:zlib'
84
import type { PartialDeep, PickDeep } from 'type-fest'
9-
import type { InvokeCommandOutput } from '@aws-sdk/client-lambda'
105
import type { LambdaRequestEvent } from './types'
6+
import { Buffer } from 'node:buffer'
7+
import { promisify } from 'node:util'
8+
import { brotliCompress, brotliCompressSync, brotliDecompress, brotliDecompressSync, gunzip, gunzipSync, gzip, gzipSync, constants as zlibConstants } from 'node:zlib'
9+
import { DetailedError, objectPick, objectSet } from '@namesmt/utils'
10+
import { destr } from 'destr'
1111

1212
/**
1313
* Creates a sample event that are compatible with most router engine for testing purposes.

0 commit comments

Comments
 (0)