Closed
Description
🐛 Bug Report
tslint-to-eslint-config
version: 0.2.11- TSLint version: 5.18.0
- ESLint version: none?
- Node version: 10.17.0
Actual Behavior
- I generated an empty angular project with
ng new
,ng 8.1.3
. - I updated manually tslint from 5.15 to 5.18 since this is the minimum required version
- Then I ran
npx tslint-to-eslint-config
and expected it to migrate from tslint to eslint
But I got this error:
npx: installed 41 in 3.972s
❌ 1 error running tslint-to-eslint: ❌
TypeError: [[rawConfiguration.extends],[reportedConfiguration.extends]].flat is not a function
at exports.findTSLintConfiguration (/home/user/.npm/_npx/19151/lib/node_modules/tslint-to-eslint-config/src/input/findTSLintConfiguration.js:22:10)
at process._tickCallback (internal/process/next_tick.js:68:7)
Expected Behavior
I'd expected it to migrate to eslint
smoothly.
Reproduction
tslint-to-eslint-config
is empty.
Metadata
Metadata
Assignees
Labels
No labels