Update hasOwnProperty calls for ESLint (#23307)
This commit is contained in:
parent
56d1af753d
commit
131e6403cc
2 changed files with 5 additions and 6 deletions
|
@ -81,7 +81,6 @@ module.exports = {
|
|||
],
|
||||
'no-empty': 'off',
|
||||
'no-nested-ternary': 'warn',
|
||||
'no-prototype-builtins': 'off',
|
||||
'no-restricted-properties': [
|
||||
'error',
|
||||
{ property: 'substring', message: 'Use .slice instead of .substring.' },
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue