Skip to content

Allow multiconditional !import.meta.ev.SSR statements #158

Open
@gracebrack

Description

@gracebrack

@lwc/lwc/no-unsupported-ssr-properties does not recognize when there is a multi conditional check with !import.meta.ev.SSR.

Example: This will have an error even though it has the correct check in place

if (!import.meta.ev.SSR && randomOtherCheck ) {
  this.dispatchEvent(someEvent);
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/bugCategorizes issue or PR as related to a bug.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions