-
Notifications
You must be signed in to change notification settings - Fork 100
Closed
Labels
area: incorrect converterRule converter with incomplete, incorrect, or invalid rule names and/or argumentsRule converter with incomplete, incorrect, or invalid rule names and/or argumentsgood first issueGood for newcomers; welcome aboard!Good for newcomers; welcome aboard!status: accepting prsPlease, send in a PR to resolve this! ✨Please, send in a PR to resolve this! ✨type: bugSomething isn't workingSomething isn't working
Description
🐛 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
- Add following to your
tslint.json
,"no-cookies": true
- Use
npx tslint-to-eslint-config
- Check your
.eslintrc.js
file it should have a rulerestricted-syntax
, which is not recognized by ESlint.
Metadata
Metadata
Assignees
Labels
area: incorrect converterRule converter with incomplete, incorrect, or invalid rule names and/or argumentsRule converter with incomplete, incorrect, or invalid rule names and/or argumentsgood first issueGood for newcomers; welcome aboard!Good for newcomers; welcome aboard!status: accepting prsPlease, send in a PR to resolve this! ✨Please, send in a PR to resolve this! ✨type: bugSomething isn't workingSomething isn't working