Rule merger for @typescript-eslint/ban-types should deeply merge objects #1087
Labels
area: incorrect merger
Rule merger with incomplete, incorrect, or invalid rule arguments
good first issue
Good for newcomers; welcome aboard!
status: accepting prs
Please, send in a PR to resolve this! ✨
Overview
@typescript-eslint/ban-types
has afixWith
option for types. https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/docs/rules/ban-types.mdActual Behavior
That
fixWith
might go away if two rule argumentstypes
lists are merged and the second doesn't have it.First:
Second:
Output:
Expected Behavior
The output should include
fixWith
if it exists.The text was updated successfully, but these errors were encountered: