Skip to content

Commit

Permalink
Replace no-new-object with no-object-constructor
Browse files Browse the repository at this point in the history
- Deprecated in ESLint `v8.50.0`, replaced with `no-object-constructor` - https://eslint.org/docs/latest/rules/no-new-object#rule-details
  • Loading branch information
risantos committed Nov 5, 2024
1 parent 749eae4 commit 9ce7122
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -119,9 +119,9 @@ const upholdBaseConfig = {
'no-nested-ternary': 'error',
'no-new': 'error',
'no-new-func': 'error',
'no-new-object': 'error',
'no-new-require': 'error',
'no-new-wrappers': 'error',
'no-object-constructor': 'error',
'no-octal-escape': 'error',
'no-path-concat': 'error',
'no-process-env': 'error',
Expand Down

0 comments on commit 9ce7122

Please sign in to comment.