Fix for Lint Not Returning Error/Warning when Transition missing 'name: self'

@fosdev @jlo188 UPDATED. Addressed PR comments.