Skip to content
This repository has been archived by the owner on Nov 6, 2020. It is now read-only.

Various linting updates #154

Merged
merged 5 commits into from
Mar 15, 2017
Merged

Various linting updates #154

merged 5 commits into from
Mar 15, 2017

Conversation

jeffyoung
Copy link
Contributor

(Easier to review by looking at the commits.)

Removing unused variables, adding types as needed, disallow using 'var' keyword, more.

Jeff Young added 5 commits March 14, 2017 16:53
@@ -52,12 +52,12 @@ export class FileTokenStorage {
return deferred.promise;
}

public RemoveEntries(entriesToRemove: Array<any>, entriesToKeep: Array<any>) : Q.Promise<void> {
public RemoveEntries(entriesToKeep: Array<any> /*, entriesToRemove?: Array<any>*/) : Q.Promise<void> {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

did you want to leave the commented out parameter here?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, in case I ever actually want RemoveEntries to, well, remove the entries that are passed. :-)

Copy link
Member

@jpricket jpricket left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants