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

Adds eslint settings to ignore mocha/chai #357

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

AndrewO
Copy link

@AndrewO AndrewO commented Jun 19, 2018

Red squiggles for test, suite, and assert all go away in VS Code + ESLint plugin with these changes.

@AndrewO
Copy link
Author

AndrewO commented Jun 19, 2018

I didn't change anything in the test that's breaking now... any idea why the build failed?

@AndrewO AndrewO force-pushed the eslint_mocha branch 2 times, most recently from 9dd87ae to 29dac17 Compare June 19, 2018 13:42
@AndrewO
Copy link
Author

AndrewO commented Jun 19, 2018

The breaking test is unrelated. The lunr.js that's checked into master is not the most up-to-date one. make clean && make regenerates it and passes.

@olivernn
Copy link
Owner

Yeah, the current build system has a few warts.

What exactly does this change do? Suppress warnings about mocha/chai related globals?

@AndrewO
Copy link
Author

AndrewO commented Jun 21, 2018

Yeah. It also reported a typo in some comments on lunrjs and com (guessing it tokenized on .).

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.

2 participants