eslint-plugin-lwc
eslint-plugin-lwc copied to clipboard
Improve TypeScript support by catching type assertions
trafficstars
Some rules break when we use type assertions (e.g. document.querySelector('td') is invalid, but (document as any).querySelector('td') is considered valid. In order to avoid false negatives, we should update the rules to account for type assertions.