diff --git a/eslint.config.mjs b/eslint.config.mjs index f5d8c414b1..080f92aa90 100644 --- a/eslint.config.mjs +++ b/eslint.config.mjs @@ -71,6 +71,13 @@ export default tseslint.config( 'no-redeclare': 'off', '@typescript-eslint/no-redeclare': ['error', { builtinGlobals: false }], 'no-restricted-globals': ['error'].concat(restrictedGlobals), + 'no-restricted-properties': [ + 'error', + { + property: 'replaceChildren', + message: 'replaceChildren is not supported in all target browsers' + } + ], 'no-return-assign': 'error', 'no-return-await': 'error', 'no-sequences': ['error', { 'allowInParentheses': false }],