From 339866483ae5bd1e20af20343e888e366565718f Mon Sep 17 00:00:00 2001 From: karasu Date: Wed, 10 Aug 2022 16:52:59 +0800 Subject: [PATCH] fix: rule renamed (#106) --- 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 81754b2..7842f6e 100644 --- a/packages/basic/index.js +++ b/packages/basic/index.js @@ -300,7 +300,7 @@ module.exports = { // includes over indexOf when checking for existence 'unicorn/prefer-includes': 'error', // String methods startsWith/endsWith instead of more complicated stuff - 'unicorn/prefer-starts-ends-with': 'error', + 'unicorn/prefer-string-starts-ends-with': 'error', // textContent instead of innerText 'unicorn/prefer-text-content': 'error', // Enforce throwing type error when throwing error while checking typeof