Skip to content

"do not have an ESLint equivalent" is misleading #299

Closed
@JoshuaKGoldberg

Description

@JoshuaKGoldberg

🐛 Bug Report

  • tslint-to-eslint-config version: 0.4.0
  • ESLint version: N/A
  • Node version: N/A

Actual Behavior

When a TSLint configuration contains a rule not recognized by tslint-to-eslint-config, the message is in the format:

some-tslint-rule does not yet have an ESLint equivalent

This is actually kind of misleading; the issue could alternately be that this tool doesn't yet know of the ESLint equivalent. 🙁

Expected Behavior

The messaging should be something like, maybe...

tslint-to-eslint-config does not know the ESLint equivalent for TSLint's some-tslint-rule

Reproduction

Create a tslint.json file with:

{
    "rules": { "my-custom-rule": true }
}

Then run:

npx tslint-to-eslint-config@0.4.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    status: accepting prsPlease, send in a PR to resolve this! ✨type: bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions