chore(deps): update typescript-eslint monorepo to v5

This commit is contained in:
Julian Tölle 2022-06-11 19:20:55 +02:00
parent 51121c7a90
commit 84cf3391f1
3 changed files with 991 additions and 929 deletions

1900
package-lock.json generated

File diff suppressed because it is too large Load diff

View file

@ -67,17 +67,17 @@
"@types/node": "15.6.0",
"@types/passport-jwt": "3.0.6",
"@types/supertest": "2.0.11",
"@typescript-eslint/eslint-plugin": "4.33.0",
"@typescript-eslint/parser": "4.33.0",
"@typescript-eslint/eslint-plugin": "5.27.1",
"@typescript-eslint/parser": "5.27.1",
"eslint": "8.17.0",
"eslint-config-airbnb-base": "15.0.0",
"eslint-config-airbnb-typescript": "14.0.2",
"eslint-config-prettier": "8.3.0",
"eslint-plugin-import": "2.25.3",
"eslint-plugin-jsdoc": "37.2.0",
"eslint-config-airbnb-typescript": "17.0.0",
"eslint-config-prettier": "8.5.0",
"eslint-plugin-import": "2.26.0",
"eslint-plugin-jsdoc": "39.3.0",
"eslint-plugin-jsx-a11y": "6.5.1",
"eslint-plugin-prefer-arrow": "1.2.3",
"eslint-plugin-react": "7.27.1",
"eslint-plugin-react": "7.30.0",
"eslint-plugin-react-hooks": "4.3.0",
"jest": "27.4.3",
"prettier": "2.5.1",

View file

@ -14,10 +14,10 @@ export class ListensController {
@Get()
@AuthAccessToken()
async getRecentlyPlayed(
@Query("page") page: number = 1,
@Query("limit") limit: number = 10,
@Query("filter") filter: GetListensFilterDto,
@ReqUser() user: User
@ReqUser() user: User,
@Query("page") page: number = 1,
@Query("limit") limit: number = 10
): Promise<Pagination<Listen>> {
const clampedLimit = limit > 100 ? 100 : limit;