[js] update eslint to v10 with fixes#17482
Conversation
Review Summary by QodoUpdate ESLint to v10 with code fixes and error handling improvements
WalkthroughsDescription• Update ESLint from v9 to v10 with dependency updates • Fix linter violations: remove unnecessary null initializations • Add error cause context to Error constructors for better debugging • Update package.json and lock file with new ESLint versions Diagramflowchart LR
A["ESLint v9.39.4"] -->|"Update to v10.4.0"| B["ESLint v10.4.0"]
B -->|"Trigger linter checks"| C["Code violations found"]
C -->|"Fix null initializations"| D["Remove unnecessary null assignments"]
C -->|"Improve error handling"| E["Add cause context to Errors"]
D --> F["Updated source files"]
E --> F
F --> G["Updated package.json & lock file"]
File Changes1. javascript/selenium-webdriver/bidi/browsingContextInspector.js
|
Code Review by Qodo
Context used 1. ESLint needs newer Node
|
|
Persistent review updated to latest commit a2ec93c |
|
Persistent review updated to latest commit 8551a19 |
🔗 Related Issues
#13964
💥 What does this PR do?