Skip to content

Commit 2c895e6

Browse files
committed
chore: fix linter errors
1 parent 9bf8c81 commit 2c895e6

File tree

17 files changed

+4317
-4317
lines changed

17 files changed

+4317
-4317
lines changed

src/types/internal/compare.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ export interface OperationChanges<T extends DiffType | DiffTypeDto = DiffType> {
7070
}
7171
previousMetadata?: OperationChangesMetadata & {
7272
[key: string]: unknown
73-
}
73+
}
7474
}
7575

7676
export interface OperationChangesDto extends Omit<OperationChanges<DiffTypeDto>, 'diffs' | 'impactedSummary' | 'mergedJso'> {

test/changes.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ describe('Changes test', () => {
144144
const result = await buildChangelogPackage('changelog/move-prefix-from-server-to-path')
145145

146146
expect(result).toEqual(changesSummaryMatcher({ [ANNOTATION_CHANGE_TYPE]: 3 }))
147-
expect(result).toEqual(numberOfImpactedOperationsMatcher({ [ANNOTATION_CHANGE_TYPE]: 1 }))
147+
expect(result).toEqual(numberOfImpactedOperationsMatcher({ [ANNOTATION_CHANGE_TYPE]: 1 }))
148148
})
149149

150150
// todo: case that we don't support due to shifting to the new changelog calculation approach which involves comparison of the entire docs instead of the operation vs operation comparison

test/projects/changelog/add-schema/after.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,4 @@ components:
1818
Pet:
1919
title: UpgradeRequest
2020
description: description
21-
type: number
21+
type: number

test/projects/changelog/documents-matching/after/evicted.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,4 @@ paths:
1717
type: string
1818
responses:
1919
'201':
20-
description: extra description 2
20+
description: extra description 2

test/projects/changelog/documents-matching/before/spec2.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,4 +31,4 @@ paths:
3131
type: string
3232
responses:
3333
'201':
34-
description: extra description
34+
description: extra description

test/projects/changelog/mixed-cases-with-method-prefix-override/after.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,4 +25,4 @@ paths:
2525
'200':
2626
description: OK
2727
servers:
28-
- url: https://example1.com/api/v2
28+
- url: https://example1.com/api/v2

test/projects/changelog/mixed-cases-with-method-prefix-override/before.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,4 +25,4 @@ paths:
2525
'200':
2626
description: OK
2727
servers:
28-
- url: https://example1.com/api/v2
28+
- url: https://example1.com/api/v2
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
type Query {
22
fruits: Int
3-
}
3+
}
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
type Query {
22
fruits: String
3-
}
3+
}

0 commit comments

Comments
 (0)