Skip to content

Add TypeScript without dependency on @types/eslint-plugin-security #177

@thernstig

Description

@thernstig

https://www.npmjs.com/package/@types/eslint-plugin-security exists to add types.

Would it be possible to add TypeScript declarations to this package instead, so one did not have to install this extra package?

It would make it easier to fix problems such as this, which currently occurs on the DefinitelyTyped implementation:

Image

For reference and searchability: Unsafe member access .configs on an ``error`` typed value.eslint[@typescript-eslint/no-unsafe-member-access](https://typescript-eslint.io/rules/no-unsafe-member-access)

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