Skip to content

Core ESLint rules not disabled when their @typescript-eslint equivalent is enabled #1509

@JamesHenry

Description

@JamesHenry

🐛 Bug Report

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

Actual Behavior

Found when updating angular-eslint's usage of tslint-to-eslint-config

See my minimal repro, e.g. quotes and semi are both enabled despite their typescript-eslint counterparts also being present and enabled.

This is a regression because this didn't use to happen in 2.4.0 which is where I am migrating from (yes I know quite a way behind!)

Expected Behavior

quotes and semi should be explicitly be set to off

Reproduction

Minimal repro here: https://github.com/JamesHenry/tslint-to-eslint-config-repro

  • First commit adds tslint and codelyzer (Angular specific TSLint rules)
  • Second commit is simply the result of running npx tslint-to-eslint-config, see the generated .eslintrc.js

Metadata

Metadata

Assignees

No one assigned

    Labels

    status: needs more informationWaiting on the issue author to add additional informationtype: bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions