From 83536e403d57386f2bcdcfb01f0d68ad0733edd4 Mon Sep 17 00:00:00 2001 From: Rebecca Stevens Date: Fri, 21 Jul 2023 15:43:43 +1200 Subject: [PATCH] fix: update for latest eslint-plugin-functional v6 beta --- src/plugins/functional.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/plugins/functional.ts b/src/plugins/functional.ts index e9e1d4f6..42f4d394 100644 --- a/src/plugins/functional.ts +++ b/src/plugins/functional.ts @@ -18,7 +18,7 @@ export const settings: Linter.Config = { "functional/no-expression-statements": [ "error", { - ignorePattern: "^assert", + ignoreCodePattern: "^assert", }, ], "functional/immutable-data": [ @@ -34,7 +34,7 @@ export const settings: Linter.Config = { "error", { allowInForLoopInit: true, - ignorePattern: ["^mutable", "^m_"], + ignoreIdentifierPattern: ["^mutable", "^m_"], }, ], "functional/prefer-immutable-types": [