Skip to content

chore: remove unused eslint-disable directives#35482

Merged
yury-s merged 2 commits intomicrosoft:mainfrom
yury-s:ellint-no-restricted-globals
Apr 3, 2025
Merged

chore: remove unused eslint-disable directives#35482
yury-s merged 2 commits intomicrosoft:mainfrom
yury-s:ellint-no-restricted-globals

Conversation

@yury-s
Copy link
Member

@yury-s yury-s commented Apr 3, 2025

  • Update eslint rule definitions for packages/playwright-core/src/utils/. There must be one rule definition per path. Previously, there were multiple rule definitions for the same path (packages/playwright-core/src/utils/isomorphic/**/*.ts and packages/playwright-core/src/utils/**/*.ts) and only one rule set worked, while we wanted to actually apply both noWebGlobalsRules and noNodeGlobalsRules. noWebGlobalsRules is commented out for now until newly found violations in packages/playwright-core/src/utils/ are fixed or we chose a different way to address the builtins issue.
  • Drive-by remove stale DEPS.list from utils/isomorphic.

@pavelfeldman
Copy link
Member

These are actually important, you should make sure they are checked.

@yury-s yury-s requested review from dgozman and pavelfeldman and removed request for pavelfeldman April 3, 2025 21:56
@yury-s yury-s merged commit 43622f5 into microsoft:main Apr 3, 2025
28 of 29 checks passed
@yury-s yury-s deleted the ellint-no-restricted-globals branch April 3, 2025 22:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants