Skip to content
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 (closes #49): added basic ESLint support #51

Merged
merged 2 commits into from
Nov 30, 2016
Merged

Conversation

bhovhannes
Copy link
Collaborator

No description provided.

@bhovhannes bhovhannes mentioned this pull request Nov 29, 2016
@bhovhannes
Copy link
Collaborator Author

@BlackSonic, can you please have a look on this one?

@@ -1,3 +1,4 @@
/* eslint-env mocha */
Copy link
Collaborator

Choose a reason for hiding this comment

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

Can we move this to config rather than comment in code?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Do you mean having separate configuration for tests and sources?
Mocha is used only in tests, that's why I put it via comment in spec file.

Copy link
Collaborator

Choose a reason for hiding this comment

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

No, it is completely fine, to put it into one configuration file.
Adding comments does not scale if we will have multiple spec files.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

@BlackSonic , done

@sonicoder86 sonicoder86 merged commit 669ca72 into master Nov 30, 2016
@sonicoder86
Copy link
Collaborator

LGTM

@bhovhannes bhovhannes deleted the feature-eslint branch November 30, 2016 09:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants