Skip to content

Issue 565 complexity reduction #14

Issue 565 complexity reduction

Issue 565 complexity reduction #14

Triggered via pull request May 15, 2024 14:42
Status Failure
Total duration 27s
Artifacts

eslint.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 7 warnings
lint: src/middlewares/access-token.ts#L23
Expected 'this' to be used by class method 'prepare'
lint: src/middlewares/access-token.ts#L45
Expected 'this' to be used by class method 'process'
lint: src/middlewares/cookie.ts#L7
Expected 'this' to be used by class method 'prepare'
lint: src/middlewares/cookie.ts#L20
Expected 'this' to be used by class method 'process'
lint: src/middlewares/csrf-header.ts#L7
Expected 'this' to be used by class method 'prepare'
lint: src/middlewares/csrf-header.ts#L20
Expected 'this' to be used by class method 'process'
lint: src/middlewares/encoding.ts#L22
Expected 'this' to be used by class method 'prepare'
lint: src/middlewares/encoding.ts#L35
Expected 'this' to be used by class method 'process'
lint: src/middlewares/failure-check.ts#L8
Expected 'this' to be used by class method 'prepare'
lint: src/middlewares/failure-check.ts#L12
Expected 'this' to be used by class method 'process'
lint: src/cli/check-routes.ts#L35
Unexpected console statement
lint: src/helper/user-agent.ts#L35
This line has a length of 99. Maximum allowed is 80
lint: src/validation/check-request.ts#L60
This line has a length of 100. Maximum allowed is 80
lint: tools/fta.js#L67
Unexpected console statement
lint: tools/fta.js#L123
Unexpected console statement
lint: tools/fta.js#L125
Unexpected console statement
lint: tools/fta.js#L127
Unexpected console statement