Skip to content

Conformance check fails to apply on destructuring assignment #3500

@dvoytenko

Description

@dvoytenko

The conformance config looks as following:

requirement: {
  type: BANNED_PROPERTY
  value: 'Document.prototype.head'
}

This check catches this code:

const head = document.head;

But fails to catch:

const {head} = document;

Metadata

Metadata

Assignees

No one assigned

    Labels

    internal-issue-createdAn internal Google issue has been created to track this GitHub issuetriage-doneHas been reviewed by someone on triage rotation.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions