Skip to content

member-access does convert options correctly #335

Closed
@MatthiasKunnen

Description

@MatthiasKunnen

🐛 Bug Report

  • tslint-to-eslint-config version: 0.5.1

Actual Behavior

rules:
  member-access:
    options:
      - no-public

is converted into

    "rules": {
        "@typescript-eslint/explicit-member-accessibility": [
            "error",
            {
                "accessibility": "explicit"
            }
        ]
    }

Expected Behavior

The accessibility should be no-public.

Metadata

Metadata

Assignees

No one assigned

    Labels

    good first issueGood for newcomers; welcome aboard!status: accepting prsPlease, send in a PR to resolve this! ✨type: bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions