Skip to content

Adjust no-shadow in typescript config #165

@xt0rted

Description

@xt0rted

The airbnb config enables no-shadow but it's not compatible with typescript and needs to be adjusted as follows:

{
  rules: {
    "no-shadow": "off",
    "@typescript-eslint/no-shadow": "error",
  },
}

ref: https://typescript-eslint.io/rules/no-shadow/

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