feat: enable oxlint suspicious category, fix 24 violations (#22727)

This commit is contained in:
Kit Langton 2026-04-15 22:53:10 -04:00 committed by GitHub
commit 702f741267
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
20 changed files with 49 additions and 22 deletions

View file

@ -46,7 +46,9 @@ describe("runtime adapters", () => {
})
test("resolves speech recognition constructor with webkit precedence", () => {
// oxlint-disable-next-line no-extraneous-class
class SpeechCtor {}
// oxlint-disable-next-line no-extraneous-class
class WebkitCtor {}
const ctor = getSpeechRecognitionCtor({
SpeechRecognition: SpeechCtor,