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