Skip to content

Some removed rules are included in eslintrc.js #153

Closed
@paibamboo

Description

@paibamboo

🐛 Bug Report

  • tslint-to-eslint-config version: 0.2.4
  • ESLint version: None
  • Node version: 10.10.0

Actual Behavior

@typescript-eslint/no-triple-slash-reference, @typescript-eslint/prefer-interface, @typescript-eslint/no-object-literal-type-assertion, and @typescript-eslint/no-angle-bracket-type-assertion are included in eslintrc.js

Expected Behavior

Those 4 rules should not be included since they are replaced by new rules since v 2.0.0. (See list of breaking changes here)

  • @typescript-eslint/prefer-interface is replaced by @typescript-eslint/consistent-type-definitions.
  • @typescript-eslint/no-triple-slash-reference is replaced by @typescript-eslint/triple-slash-reference
  • @typescript-eslint/no-object-literal-type-assertion and @typescript-eslint/no-angle-bracket-type-assertion are combined in to one single rule @typescript-eslint/consistent-type-assertions

Reproduction

  • Clone this repo.
  • Go to project dir
  • Run npm install
  • Run npx tslint-to-eslint-config

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

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions