Skip to content
This repository has been archived by the owner on Jun 11, 2024. It is now read-only.

Apply eslint-rule new-cap - Related to #1597 #2566

Merged
merged 6 commits into from
Nov 26, 2018

Conversation

diego-G
Copy link

@diego-G diego-G commented Nov 22, 2018

Review checklist

@@ -93,7 +93,7 @@ var modulesLoader = new function() {
new Account(scope.db, scope.schema, scope.logger, cb);
},
},
(err, result) => {
(__err, result) => {
Copy link
Contributor

@yatki yatki Nov 22, 2018

Choose a reason for hiding this comment

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

why underscore here ? @diego-G

Copy link
Contributor

Choose a reason for hiding this comment

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

@diego-G btw didn't you want to remove modules_loader once?

Copy link
Author

Choose a reason for hiding this comment

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

@yatki When you pass a variable to the callback that you don't use, eslint recommends you to write it that way.

@MaciejBaj I did and I do. I'll open an issue for it after @yatki presents the study about unit.

@diego-G diego-G requested a review from yatki November 23, 2018 08:47
@MaciejBaj MaciejBaj merged commit 6df8dc6 into development Nov 26, 2018
@MaciejBaj MaciejBaj deleted the 1597-apply_eslint-rule_new-cap branch November 26, 2018 09:57
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.

4 participants