Skip to content

Commit e3f7c84

Browse files
Add linting exceptions
1 parent 83da865 commit e3f7c84

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/server/services/cacheService.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,9 @@ export class CacheService {
147147
throw new Error('No session ID found')
148148
}
149149

150+
// eslint-disable-next-line @typescript-eslint/non-nullable-type-assertion-style
150151
const state = (request.params.state as string) || ''
152+
// eslint-disable-next-line @typescript-eslint/no-unnecessary-type-assertion
151153
const slug = (request.params.slug as string) || ''
152154
const key = `${request.yar.id}:${state}:${slug}:`
153155

0 commit comments

Comments
 (0)