Skip to content

Invalid "no-underscore-dangle" rule #266

Closed
@devuxer

Description

@devuxer
  • tslint-to-eslint-config version: 0.2.11
  • ESLint version: 6.6.0
  • Node version: 12.8.1

Actual Behavior

Converts to this:

"no-underscore-dangle": [
    "error",
     "off"
],

Which generates this error:

...eslintrc.js: Configuration for rule "no-underscore-dangle" is invalid: Value "off" should be object.

Expected Behavior

Should convert to this:

"no-underscore-dangle": "off",

Reproduction

Point to a tslint.json file with the following rule:

"variable-name": [true, "ban-keywords", "check-format", "allow-leading-underscore"]

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