Skip to content

Incorrect rule conversion for no-cookies tslint rule  #1190

Closed
@viditganpi

Description

@viditganpi

🐛 Bug Report

  • tslint-to-eslint-config version: 2.9.1
  • ESLint version: 7.32.0
  • Node version: 14.17.5

Actual Behavior

Currently on using tslint-to-eslint-config the no-cookies rule gets translated to restricted-syntax rule in the .eslintrc.js file.

Expected Behavior

The correct conversion would be no-restricted-syntax as per the conversion mentioned here

Reproduction

  1. Add following to your tslint.json, "no-cookies": true
  2. Use npx tslint-to-eslint-config
  3. Check your .eslintrc.js file it should have a rule restricted-syntax, which is not recognized by ESlint.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area: incorrect converterRule converter with incomplete, incorrect, or invalid rule names and/or argumentsgood 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