Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crash when using TSLint 5.9.1 #9

Open
ajafff opened this issue Jan 16, 2018 · 0 comments
Open

Crash when using TSLint 5.9.1 #9

ajafff opened this issue Jan 16, 2018 · 0 comments

Comments

@ajafff
Copy link

ajafff commented Jan 16, 2018

TSLint 5.9.0 added error reporting for errors in tsconfig.json.
On this line the path to tslint.json is passed to a function that expects the path to a tsconfig.json:

const program = Linter.createProgram(configFilePath, pathToLint);

This is just wrong and was never valid and never documented this way.

Ref: palantir/tslint#3643 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant