angular / angular-hint

run-time hinting for AngularJS applications
362 stars 45 forks source link

Check to see if app is using deprecated directives, e.g. ngBindHtmlUnsafe #10

Closed caguillen214 closed 10 years ago

ealtenho commented 10 years ago

@caguillen214 would you be able to check for these directives when you are checking that the directives are spelled correctly in ng-hint-directive? Or would this implementation belong somewhere else?

caguillen214 commented 10 years ago

Yeah, I think that would be the best place to put this feature. I will file an issue in hint-directive

caguillen214 commented 10 years ago

In order for me to check which directives are deprecated I would need a list of deprecated directives. There isn't an existing source with all these directives listed (that I am aware of at least), any thoughts on how to get these?

caguillen214 commented 10 years ago

I never got a response on this, is this something we want to pursue, @btford? If so we'll need to brainstorm for the best way to do this.

btford commented 10 years ago

@caguillen214 you'd have to read the changelog for breaking changes.

For now handle this one case in a way that we could easily add more directives later if we wanted.

ealtenho commented 10 years ago

See the closed AngularHintDirectives issue: https://github.com/angular/angular-hint-directives/issues/8