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

typeCheck rules don't allow specifying path to tsconfig.json #45

Closed
Jessidhia opened this issue Nov 23, 2016 · 1 comment · Fixed by #52
Closed

typeCheck rules don't allow specifying path to tsconfig.json #45

Jessidhia opened this issue Nov 23, 2016 · 1 comment · Fixed by #52

Comments

@Jessidhia
Copy link

The typeCheck option added for #36 hardcodes the tsconfig.json as being in the process.cwd(), which is not the case in a hierarchy like:

src/
  tsconfig.json
  index.ts
webpack.config.js

The tsconfig.json is loaded in the wrong directory (ENOENT).

@sonicoder86
Copy link
Collaborator

Saw this one coming :)
Yes it is hardcoded, will add an option to configure just as the tslint config file.

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

Successfully merging a pull request may close this issue.

2 participants