Skip to content

[JS] Invalid tsconfig shipped on npm #2932

Open
@calebegg

Description

@calebegg

You're shipping a tsconfig with your NPM package with a tsconfig.json that references a file that does not exist. This causes my node_modules folder to appear in red in VSCode, which is irritating.

Specifically, it has:

{
  "extends": "../tsconfig.json",
  "include": ["src"]
}

but ../tsconfig.json doesn't exist. This is the root of the package.

I truly do not understand why VSCode cares about tsconfig.json files in node_modules, but the point stands that the red line is bothersome.

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingjs

    Type

    No type

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions