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.
node_modules
1 parent 30adec7 commit 266eaa5Copy full SHA for 266eaa5
src/index.ts
@@ -266,7 +266,7 @@ export function create (options: CreateOptions = {}): Register {
266
267
const isScoped = options.scope ? (relname: string) => relname.charAt(0) !== '.' : () => true
268
const shouldIgnore = createIgnore(options.skipIgnore ? [] : (
269
- options.ignore || ['/node_modules/']
+ options.ignore || ['(?:^|/)node_modules/']
270
).map(str => new RegExp(str)))
271
272
const diagnosticHost: _ts.FormatDiagnosticsHost = {
0 commit comments