From 37d30e9e7d831ca83e3742f786f185be4e4dc632 Mon Sep 17 00:00:00 2001 From: N <34268416+ziloen@users.noreply.github.com> Date: Sat, 14 May 2022 11:35:44 +0800 Subject: [PATCH] fix: rule renamed (#94) --- packages/basic/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/basic/index.js b/packages/basic/index.js index 346837d..b93ce52 100644 --- a/packages/basic/index.js +++ b/packages/basic/index.js @@ -265,7 +265,7 @@ module.exports = { // Uppercase regex escapes 'unicorn/escape-case': 'error', // Array.isArray instead of instanceof - 'unicorn/no-array-instanceof': 'error', + 'unicorn/no-instanceof-array': 'error', // Prevent deprecated `new Buffer()` 'unicorn/no-new-buffer': 'error', // Keep regex literals safe!