Skip to content

Remove "files" from tsconfig.json #175

@vivainio

Description

@vivainio

It's considered a bit of an antipattern to have list of source files in tsconfig.json.

Currently, you need to add your new .ts files there to get vscode working. This doesn't scale to nontrivial projects

https://github.com/Microsoft/TypeScript/wiki/tsconfig.json :

If no "files" property is present in a tsconfig.json, the compiler defaults to including all TypeScript (*.ts or *.tsx) files in the containing directory and subdirectories. When a "files" property is present, only the specified files are included.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions