quick-lint-js
quick-lint-js copied to clipboard
10$: Warn on '!"key" in obj'
!"key" in obj is the same as false in obj, which is probably unintended.
Warn on in where the left-hand side is ! followed by a literal (number or string or non-tagged template). Suggest !("key" in obj) instead.