Closed
Description
π Bug Report
tslint-to-eslint-config
version: 2.14.1- ESLint version: 8.54.0
- Node version: 20.9.0
Actual Behavior
sudo npx tslint-to-eslint-config --comments
and i get the output including error
β¨ 114 rules replaced with their ESLint equivalents. β¨
β 7 ESLint rules behave differently from their TSLint counterparts β
Check ./tslint-to-eslint-config.log for details.
β 1 error running tslint-to-eslint: β
TypeError: (0 , glob_1.default) is not a function
at /mnt/otherLinuxPartition/var/www/kickstart/api/node_modules/tslint-to-eslint-config/src/adapters/globAsync.js:10:28
at new Promise (<anonymous>:null:null)
at globAsync (/mnt/otherLinuxPartition/var/www/kickstart/api/node_modules/tslint-to-eslint-config/src/adapters/globAsync.js:9:12)
at Array.map (<anonymous>:null:null)
at extractGlobPaths (/mnt/otherLinuxPartition/var/www/kickstart/api/node_modules/tslint-to-eslint-config/src/converters/comments/extractGlobPaths.js:11:102)
at convertComments (/mnt/otherLinuxPartition/var/www/kickstart/api/node_modules/tslint-to-eslint-config/src/converters/comments/convertComments.js:28:49)
at tryConvertConfig (/mnt/otherLinuxPartition/var/www/kickstart/api/node_modules/tslint-to-eslint-config/src/cli/runCli.js:64:18)
at runCli (/mnt/otherLinuxPartition/var/www/kickstart/api/node_modules/tslint-to-eslint-config/src/cli/runCli.js:50:24)
at Object.main (/mnt/otherLinuxPartition/var/www/kickstart/api/node_modules/tslint-to-eslint-config/src/cli/main.js:11:30)
- the code comments are not actually modified
- i got stuck
Expected Behavior
The command
sudo npx tslint-to-eslint-config --comments
should work and replace tslint comments with eslint comments.