Skip to content

Remove lint rule no-explicit-any #559

@Nutomic

Description

@Nutomic

"@typescript-eslint/no-explicit-any": 0,
"@typescript-eslint/no-unsafe-assignment": 0,
"@typescript-eslint/no-unsafe-call": 0,
"@typescript-eslint/no-unsafe-return": 0,
"@typescript-eslint/no-unsafe-member-access": 0,
"@typescript-eslint/no-unsafe-argument": 0,

Theres a lot of any used across the whole code:


/home/felix/workspace/lemmy/joinlemmy-site/src/server/index.tsx
88:25  error  Unexpected any. Specify a different type  @typescript-eslint/no-explicit-any

/home/felix/workspace/lemmy/joinlemmy-site/src/shared/components/app.tsx
10:36  error  Unexpected any. Specify a different type  @typescript-eslint/no-explicit-any
10:41  error  Unexpected any. Specify a different type  @typescript-eslint/no-explicit-any
11:22  error  Unexpected any. Specify a different type  @typescript-eslint/no-explicit-any
11:36  error  Unexpected any. Specify a different type  @typescript-eslint/no-explicit-any

/home/felix/workspace/lemmy/joinlemmy-site/src/shared/components/apps.tsx
193:37  error  Unexpected any. Specify a different type  @typescript-eslint/no-explicit-any
199:22  error  Unexpected any. Specify a different type  @typescript-eslint/no-explicit-any
199:36  error  Unexpected any. Specify a different type  @typescript-eslint/no-explicit-any
315:47  error  Unexpected any. Specify a different type  @typescript-eslint/no-explicit-any

/home/felix/workspace/lemmy/joinlemmy-site/src/shared/components/contact.tsx
41:40  error  Unexpected any. Specify a different type  @typescript-eslint/no-explicit-any
41:45  error  Unexpected any. Specify a different type  @typescript-eslint/no-explicit-any
42:22  error  Unexpected any. Specify a different type  @typescript-eslint/no-explicit-any
42:36  error  Unexpected any. Specify a different type  @typescript-eslint/no-explicit-any

/home/felix/workspace/lemmy/joinlemmy-site/src/shared/components/crypto.tsx
52:39  error  Unexpected any. Specify a different type  @typescript-eslint/no-explicit-any
54:22  error  Unexpected any. Specify a different type  @typescript-eslint/no-explicit-any
54:36  error  Unexpected any. Specify a different type  @typescript-eslint/no-explicit-any
97:76  error  Unexpected any. Specify a different type  @typescript-eslint/no-explicit-any

/home/felix/workspace/lemmy/joinlemmy-site/src/shared/components/donate.tsx
18:39  error  Unexpected any. Specify a different type  @typescript-eslint/no-explicit-any
18:44  error  Unexpected any. Specify a different type  @typescript-eslint/no-explicit-any
19:22  error  Unexpected any. Specify a different type  @typescript-eslint/no-explicit-any
19:36  error  Unexpected any. Specify a different type  @typescript-eslint/no-explicit-any

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions