Skip to content
This repository has been archived by the owner on Feb 26, 2021. It is now read-only.

Updated Mocha based tests to remove arrow functions. #101

Merged
merged 1 commit into from
Apr 1, 2016

Conversation

hwillson
Copy link
Contributor

@hwillson hwillson commented Apr 1, 2016

Hi guys - I've updated the Mocha based tests to remove arrow functions (recommended against by Mocha). These changes are associated with the Guide changes discussed in meteor/guide#318. Thanks!

@stubailo
Copy link
Contributor

stubailo commented Apr 1, 2016

Thanks for this! I wonder if there is some simple way to get the linter to be happy about it. Maybe we just need to disable those rules entirely...

@stubailo stubailo merged commit db48dfd into meteor:master Apr 1, 2016
@hwillson
Copy link
Contributor Author

hwillson commented Apr 1, 2016

We could disable those rules for the entire project, but ideally we'd just disable them for the tests. The good news is that eslint is working on a glob based config option. This would really help!

@stubailo
Copy link
Contributor

stubailo commented Apr 1, 2016

Yeah! That would be awesome. In general relaxing lint rules for tests makes a lot of sense.

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.

2 participants