Skip to content

Commit

Permalink
chore: upgrade eslint
Browse files Browse the repository at this point in the history
  • Loading branch information
pmb0 committed Oct 19, 2021
1 parent 034f84e commit 0a8a48f
Show file tree
Hide file tree
Showing 3 changed files with 153 additions and 147 deletions.
6 changes: 4 additions & 2 deletions e2e/specifications.e2e-spec.ts
@@ -1,3 +1,4 @@
/* eslint-disable @typescript-eslint/no-unsafe-argument */
/* eslint-disable @typescript-eslint/no-unsafe-return */
/* eslint-disable @typescript-eslint/no-unsafe-member-access */
/* eslint-disable @typescript-eslint/no-unsafe-assignment */
Expand Down Expand Up @@ -72,7 +73,7 @@ describe('Specification test', () => {
testSuite.map((suite) => ({ ...suite, toString: () => suite.name })),
)('%s', (specification) => {
beforeEach(() => {
specification.state.features.forEach((feature: any) => {
specification.state.features.forEach((feature) => {
toggles.create(
// @ts-ignore
new ToggleEntity(feature),
Expand All @@ -82,7 +83,7 @@ describe('Specification test', () => {

test.each(
// @ts-ignore
specification.tests.map((test: any) => ({
specification.tests.map((test) => ({
...test,
toString: () => test.description,
})),
Expand All @@ -92,6 +93,7 @@ describe('Specification test', () => {
requestContext.getRemoteAddress.mockReturnValue(context.remoteAddress)
// @ts-ignore
requestContext.getSessionId.mockReturnValue(context.sessionId)
// @ts-ignore
requestContext.getUserId.mockReturnValue(context.userId)

expect(service.isEnabled(toggleName)).toBe(expectedResult)
Expand Down
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -54,7 +54,7 @@
"devDependencies": {
"@commitlint/cli": "^13.0.0",
"@commitlint/config-conventional": "^13.0.0",
"@heise/eslint-config": "^19.0.0",
"@heise/eslint-config": "^20.0.7",
"@nestjs/axios": "^0.0.3",
"@nestjs/cli": "^8.1.0",
"@nestjs/common": "^8.0.5",
Expand Down

0 comments on commit 0a8a48f

Please sign in to comment.