google / google/closure-compiler
Conformance check fails to apply on destructuring assignment
Open
internal-issue-created
triage-done
- Dominant language
- JavaScript
- Stars
- 7.7k
- Forks
- 1.2k
- Avg merge
- 2d 12h
- Merged PRs (30d)
- 6
Description
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;
```
Contributor guide
Assessment
This issue has not been assessed yet.