Closed
Description
🐛 Bug Report
tslint-to-eslint-config
version: 0.1.8- ESLint version: N/A
- Node version: N/A
Actual Behavior
If you've put non-JSON things in your tsconfig.json
, such as comments, tslint-to-eslint-config --typescript tsconfig.json
won't load the file. This is because the file is printed with cat
on the CLI, then passed to JSON.parse
in code.
Expected Behavior
TypeScript supports comments. We should too!
Reproduction
- Create a
tsconfig.json
with comments in it - Run
tslint-to-eslint-config --typescript tsconfig.json