Skip to content

Adds eslint settings to ignore mocha/chai#357

Open
AndrewO wants to merge 1 commit intoolivernn:masterfrom
AndrewO:eslint_mocha
Open

Adds eslint settings to ignore mocha/chai#357
AndrewO wants to merge 1 commit intoolivernn:masterfrom
AndrewO:eslint_mocha

Conversation

@AndrewO
Copy link
Copy Markdown

@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
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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