fix: rule renamed (#106)
This commit is contained in:
parent
fa24ca77a4
commit
339866483a
@ -300,7 +300,7 @@ module.exports = {
|
|||||||
// includes over indexOf when checking for existence
|
// includes over indexOf when checking for existence
|
||||||
'unicorn/prefer-includes': 'error',
|
'unicorn/prefer-includes': 'error',
|
||||||
// String methods startsWith/endsWith instead of more complicated stuff
|
// 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
|
// textContent instead of innerText
|
||||||
'unicorn/prefer-text-content': 'error',
|
'unicorn/prefer-text-content': 'error',
|
||||||
// Enforce throwing type error when throwing error while checking typeof
|
// Enforce throwing type error when throwing error while checking typeof
|
||||||
|
Loading…
Reference in New Issue
Block a user