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.
1 parent a37b5da commit 2a0ce9cCopy full SHA for 2a0ce9c
src/runtime/validator.ts
@@ -68,5 +68,5 @@ export const useChecker = (
68
}
69
70
export function isIgnored(path: string, ignore: Array<string | RegExp> = []) {
71
- return ignore.some(ignore => typeof ignore === 'string' ? path === ignore : ignore.test(path))
+ return ignore.some(i => typeof i === 'string' ? path === i : i.test(path))
72
0 commit comments