Skip to content

linter: false positive in no-this-before-super #3668

@rzvxa

Description

@rzvxa

https://github.com/rzvxa/oxlint-ecosystem-ci/actions/runs/9511509383/job/26217870705#step:5:66

eg:

function f() {
    try {
        return a();
    }
    catch (err) {
        throw new class CustomError extends Error {
            constructor() {
                super(err);
            }
        };
    }
    finally {
        this.b();
    }
}

Metadata

Metadata

Assignees

Labels

C-bugCategory - Bug

Type

No type

Priority

None yet

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions