chore: remove usage of the prefer-global rules (#11279)

This commit is contained in:
Denis-Adrian Cristea
2025-12-10 16:05:29 +02:00
committed by GitHub
parent 548d75258b
commit 9bf1f739e0
43 changed files with 64 additions and 66 deletions

View File

@@ -11,6 +11,14 @@ const config = [
...prettier,
{
rules: {
'no-restricted-globals': 0,
'n/prefer-global/buffer': [2, 'never'],
'n/prefer-global/console': [2, 'always'],
'n/prefer-global/process': [2, 'never'],
'n/prefer-global/text-decoder': [2, 'always'],
'n/prefer-global/text-encoder': [2, 'always'],
'n/prefer-global/url-search-params': [2, 'always'],
'n/prefer-global/url': [2, 'always'],
'jsdoc/check-tag-names': 0,
'jsdoc/no-undefined-types': 0,
'jsdoc/valid-types': 0,