fix: rule renamed (#94)

This commit is contained in:
N 2022-05-14 11:35:44 +08:00 committed by GitHub
parent 58b8383d4c
commit 37d30e9e7d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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!