question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

a tslint.json placed in a directory above tsconfig.json is not applied

See original GitHub issue

Say there is a monorepo structure such as this one

- tslint.json
- node_modules/...
- packages/a/tsconfig.json
- packages/a/src/...

then tslint.json is not automatically found and applied (it is with the “old” tslint plugin)

if a tslint.json is placed in packages/a/tslint.json that just extends the root one then it will work

Issue Analytics

  • State:open
  • Created 5 years ago
  • Comments:11 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
marcosfedecommented, Aug 6, 2019

Same issue here, but I’m opening the whole monorepo in vscode

tslint.json
packages/
  package1/
    tsconfig.json   

linter is not working and it did with the old extension

0reactions
mjbvzcommented, Jun 27, 2019

@xaviergonz Looks like that branch no longer exists. Do you have a link to version of that project where it doesn’t work?

Read more comments on GitHub >

github_iconTop Results From Across the Web

VSCode / tslint does not resolve paths in tsconfig.json
json sits in the root-folder of the project. the only thing is, that I use another tsconfig.app.json , which includes above tsconfig.json ....
Read more >
Configuring TSLint - Palantir Open Source
When using the CLI or many third-party tools, a file named tslint.json or tslint.yaml is used to configure which rules get run and...
Read more >
Documentation - What is a tsconfig.json - TypeScript
The presence of a tsconfig.json file in a directory indicates that the directory is the root of a TypeScript project. The tsconfig.json file...
Read more >
TS - Skipping files with no tsconfig.json - Sonar Community
I am trying to get and Angular project to be succesfully analyzed by SonarQube. We have a standard structure (with tsconfig, tslint and ......
Read more >
TypeScript configuration - Angular
The Angular CLI generates a tsconfig.app.json file which is used to build an application, in which the types compiler option is set to...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found