tslint-to-eslint-config icon indicating copy to clipboard operation
tslint-to-eslint-config copied to clipboard

Rule Merger: no-unnecessary-type-assertion is not needed

Open KingDarBoja opened this issue 4 years ago • 1 comments

🚀 Feature Request

Existing Behavior

We do have declared a merger for the @typescript-eslint/no-unnecessary-type-assertion rule but this doesn't seems to require it as it is pretty much a 1:1 converter with the whitelist of types to ignore being mapped into typesToIgnore as stated in the ESLint docs.

Change Proposal

Cleanup the rule by removing the merger and adding the logic into the converter.

KingDarBoja avatar May 16 '21 22:05 KingDarBoja

...huh! I wonder if it used to be necessary, but isn't anymore?

JoshuaKGoldberg avatar May 16 '21 23:05 JoshuaKGoldberg