Add no-unnecessary-type-assertion rule to eslint config to avoid automatically unnecessary type assertions in the codebase.