-
-
Notifications
You must be signed in to change notification settings - Fork 195
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Chore: added fixlint in Makefile.js #440
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thanks!
@anikethsaha Do you mind resolving the merge conflicts? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry, one last thing to check, but otherwise this LGTM!
TEST_FILES = "tests/lib/**/*.js", | ||
|
||
// FLAGS | ||
CLIFLAGS = process.argv.slice(3); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looking at the documentation, I’m not sure nodeCLI.exec()
accepts an array as an argument. Should this be the following?
CLIFLAGS = process.argv.slice(3); | |
CLIFLAGS = process.argv.slice(3).join(“ “); |
Alternatively, we could use the spread operator in the function calls below:
lastReturn = nodeCLI.exec("eslint", MAKEFILE, ...CLIFLAGS);
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thank you!
added a fixlint command and script in order to fix the autofixable linting issue