Skip to content

error: unknown option `--print-config' in a new nestjs project #106

Closed
@itays

Description

@itays

🐛 Bug Report

  • tslint-to-eslint-config version: 0.1.9
  • ESLint version: 6.0.1
  • Node version: 12.4.0

Actual Behavior

currently nestjs framework still ships with tslint. I created a new nestjs project and run npx tslint-to-eslint-config and got:

Could not start tslint-to-eslint:
Command failed: tslint --print-config "./tslint.json"
error: unknown option `--print-config'

Expected Behavior

eslint json file should be created

Reproduction

install the nestjs cli tool:
npm i -g @nestjs/cli
create a nestjs project:
nest new project-name
cd into the newly created project and run npx tslint-to-eslint-config

Metadata

Metadata

Labels

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