Skip to content

Commit 939be9d

Browse files
Merge pull request #34 from kherock/patch-1
Include dotfiles in micromatch globs
2 parents abe4c74 + 976c81e commit 939be9d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/plugin.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ function getTSConfigFile(tsconfigPath: string): ts.ParsedCommandLine {
153153

154154
/** Create a glob matching function. */
155155
const matchGlob = (globs: string[]) => {
156-
const matchers = globs.map((g) => matcher(g));
156+
const matchers = globs.map((g) => matcher(g, { dot: true }));
157157
return (filename: string) =>
158158
Boolean(filename && matchers.find((match) => match(filename)));
159159
};

0 commit comments

Comments
 (0)