Closed
Description
🐛 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