We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents f41d569 + c741d83 commit ca3b5edCopy full SHA for ca3b5ed
lib/utils.ts
@@ -61,7 +61,7 @@ export function readFilesFromTsconfig(configPath: string): string[] {
61
} else if (tsconfig.include || tsconfig.exclude) {
62
return tsMatchFiles(tsconfig.exclude || [], tsconfig.include || []);
63
} else {
64
- throw new Error(`No "files" or "filesGlob" section present in tsconfig.json`);
+ return tsMatchFiles([], []);
65
}
66
67
function tsMatchFiles(excludes: string[], includes: string[]) {
0 commit comments