From 22e2aa7c819ed23fc416ff1d2447e7936c3671d3 Mon Sep 17 00:00:00 2001 From: Rebecca Stevens Date: Fri, 5 Jan 2024 23:20:40 +1300 Subject: [PATCH] fix: use string regex --- src/plugins/unicorn.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/unicorn.ts b/src/plugins/unicorn.ts index d88731d5..1e2e99bc 100644 --- a/src/plugins/unicorn.ts +++ b/src/plugins/unicorn.ts @@ -27,7 +27,7 @@ export const settings: Linter.Config = { kebabCase: true, pascalCase: true, }, - ignore: [/^.*\\.md$/iu], + ignore: ["^.*\\.md$"], }, ], // "eslint-comments/no-unlimited-disable" covers this.