Skip to content

Commit 322bc22

Browse files
committed
lint fixes
1 parent 7528b56 commit 322bc22

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

src/schema/ResourceSchema.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ export class ResourceSchema {
170170
}
171171

172172
const parts = path.split('/');
173-
let current: any = this as unknown as any; // eslint-disable-line @typescript-eslint/no-unnecessary-type-assertion
173+
let current: any = this as any;
174174

175175
for (const part of parts) {
176176
if (!current || typeof current !== 'object') {

tst/unit/resourceState/ResourceStateImporter.test.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,7 @@ describe('ResourceStateImporter', () => {
229229

230230
const params: ResourceStateParams = {
231231
resourceSelections: [{ resourceType: 'AWS::S3::Bucket', resourceIdentifiers: ['my-bucket'] }],
232-
textDocument: { uri } as any,
232+
textDocument: { uri },
233233
purpose: ResourceStatePurpose.IMPORT,
234234
};
235235

@@ -252,7 +252,7 @@ describe('ResourceStateImporter', () => {
252252
resourceSelections: [
253253
{ resourceType: 'AWS::S3::Bucket', resourceIdentifiers: [mockResource.identifier] },
254254
],
255-
textDocument: { uri } as any,
255+
textDocument: { uri },
256256
purpose: ResourceStatePurpose.IMPORT,
257257
};
258258

@@ -280,7 +280,7 @@ describe('ResourceStateImporter', () => {
280280
resourceIdentifiers: [mockResource.identifier, 'bad-bucket', 'timeout-bucket'],
281281
},
282282
],
283-
textDocument: { uri } as any,
283+
textDocument: { uri },
284284
purpose: ResourceStatePurpose.IMPORT,
285285
};
286286

0 commit comments

Comments
 (0)