Skip to content

[variable-name] with ban-keywords converted to deprecated ban-keywords instead of new id-denylist #1028

Closed
@yrtimiD

Description

@yrtimiD

🐛 Bug Report

  • tslint-to-eslint-config version: 2.3.0
  • ESLint version: 7.24.0

Actual Behavior

"variable-name": [
  true,
  "ban-keywords"
]

is converted to

"id-blacklist": [
  "error",
  "any",
  "Number",
  "number",
  "String",
  "string",
  "Boolean",
  "boolean",
  "Undefined",
  "undefined"
]

Expected Behavior

id-blacklist was deprecated in favor of id-denylist since ESLint 7.4.0

"id-denylist": [
  "error",
  "any",
  "Number",
  "number",
  "String",
  "string",
  "Boolean",
  "boolean",
  "Undefined",
  "undefined"
]

should be simple rename, code is same

Metadata

Metadata

Assignees

No one assigned

    Labels

    area: incorrect converterRule converter with incomplete, incorrect, or invalid rule names and/or argumentsgood first issueGood for newcomers; welcome aboard!status: accepting prsPlease, send in a PR to resolve this! ✨

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions