Skip to content

Conversation

remcohaszing
Copy link
Collaborator

Closes #159

@EmmanuelDemey
Copy link
Owner

In the #159 issue you are talking about a use case where the no-unused-var do not trigger an error

factory('example', function($http, $q) {
  return $q.resolve();
})

Can you add a test case with this use case, in order to be sure that your rule is doing what expected.

Thanks a lot.

@remcohaszing
Copy link
Collaborator Author

I added the requested test case.

EmmanuelDemey added a commit that referenced this pull request Aug 25, 2015
Add rule for detecting unused dependency injections
@EmmanuelDemey EmmanuelDemey merged commit a932e8b into EmmanuelDemey:development Aug 25, 2015
@EmmanuelDemey EmmanuelDemey added this to the 0.8.0 milestone Aug 25, 2015
@remcohaszing remcohaszing deleted the ng_di_unused branch August 26, 2015 17:01
@remcohaszing remcohaszing restored the ng_di_unused branch August 26, 2015 17:01
@remcohaszing remcohaszing deleted the ng_di_unused branch August 26, 2015 17:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants