-
-
Notifications
You must be signed in to change notification settings - Fork 3k
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
lint all the things #2525
Comments
boneskull
added a commit
that referenced
this issue
Oct 10, 2016
- mostly whitespace changes - add `'use strict';` everywhere - fix problems with unused variables, bad variable names, multiple declarations, unreachable code, yoda expressions, error handling, instantiation, etc. - add a few eslint directives to avoid rules when needed - switch to YAML eslint configs - remove `test/` from `.eslintignore` - add `mocha.js` to `.eslintignore` - add userland `assert` as dev dependency (as is recommended) - rename `test/fixture-expect.js` to `test/setup.js`; add global `assert` here - add `assert` and `run` globals to `test/`'s eslint config - update `test/mocha.opts` as appropriate - update `lint` target in `Makefile` - update eslint environments as appropriate
This was referenced Sep 23, 2018
1 task
1 task
This was referenced Dec 23, 2018
sgilroy
pushed a commit
to TwineHealth/mocha
that referenced
this issue
Feb 27, 2019
- mostly whitespace changes - add `'use strict';` everywhere - fix problems with unused variables, bad variable names, multiple declarations, unreachable code, yoda expressions, error handling, instantiation, etc. - add a few eslint directives to avoid rules when needed - switch to YAML eslint configs - remove `test/` from `.eslintignore` - add `mocha.js` to `.eslintignore` - add userland `assert` as dev dependency (as is recommended) - rename `test/fixture-expect.js` to `test/setup.js`; add global `assert` here - add `assert` and `run` globals to `test/`'s eslint config - update `test/mocha.opts` as appropriate - update `lint` target in `Makefile` - update eslint environments as appropriate
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
semistandard is in place; I'm going to fix the rest of the issues across the codebase in skipped files.
currently we're skipping the tests (which are a mess). there's also a few other issues (such as strict mode) scattered about.
The text was updated successfully, but these errors were encountered: