Skip to content
This repository has been archived by the owner on Apr 21, 2022. It is now read-only.

Convert to tap for testing and update linter #99

Merged
merged 3 commits into from
Jul 17, 2020

Conversation

darinspivey
Copy link
Contributor

package: Convert to tap for testing

This moves to tap as the test framework, and increases coverage.

Semver: patch
Ref: LOG-6338


package: Do not create package-lock.json

This file is in .gitignore, but since this is not a service, we
should not be generating one for anyone who does npm install.
This commit adds an .npmrc that tells npm not to generate one.

Semver: patch
Ref: LOG-6338


deps: Upgrade eslint to version 7 and update rule set

We are using a newer ruleset, including node and sensible plugins.
This also removes the linting for mocha since we're moving away
from that as a test framework.

Semver: patch
Ref: LOG-6338

We are using a newer ruleset, including `node` and `sensible` plugins.
This also removes the linting for mocha since we're moving away
from that as a test framework.

Semver: patch
Ref: LOG-6338
This file is in .gitignore, but since this is not a service, we
should not be generating one for anyone who does `npm install`.
This commit adds an .npmrc that tells npm not to generate one.

Semver: patch
Ref: LOG-6338
@darinspivey
Copy link
Contributor Author

I need to translate the TODO lines into a card that we can do a major revision on.

@smusali smusali requested review from smusali, dm36, jakedipity, matt-march and a user July 15, 2020 21:14
@darinspivey
Copy link
Contributor Author

Do yourself a favor and only look at the commit for the tap changes. Otherwise, reviewers can miss the actual changes in the lib code.

lib/logger.js Outdated Show resolved Hide resolved
@darinspivey darinspivey force-pushed the darinspivey/LOG-6338 branch 2 times, most recently from 688e438 to 77a57cf Compare July 16, 2020 13:48
@darinspivey darinspivey force-pushed the darinspivey/LOG-6338 branch 2 times, most recently from 2b79ffa to a2153f1 Compare July 16, 2020 15:21
@darinspivey darinspivey force-pushed the darinspivey/LOG-6338 branch from a2153f1 to fbf25dd Compare July 16, 2020 16:43
lib/logger.js Show resolved Hide resolved
lib/logger.js Show resolved Hide resolved
lib/logger.js Show resolved Hide resolved
lib/logger.js Show resolved Hide resolved
@smusali smusali self-requested a review July 16, 2020 20:18
smusali
smusali previously approved these changes Jul 16, 2020
Copy link
Contributor

@smusali smusali left a comment

Choose a reason for hiding this comment

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

lgtm

test/logger-errors.js Outdated Show resolved Hide resolved
This moves to `tap` as the test framework, and increases coverage
to 100%

Semver: patch
Ref: LOG-6338
@darinspivey darinspivey force-pushed the darinspivey/LOG-6338 branch from fbf25dd to 7fe1c53 Compare July 16, 2020 22:55
lib/configs.js Show resolved Hide resolved
package.json Show resolved Hide resolved
@smusali smusali self-requested a review July 17, 2020 14:52
@darinspivey darinspivey merged commit fa084fc into master Jul 17, 2020
@darinspivey darinspivey deleted the darinspivey/LOG-6338 branch July 17, 2020 15:03
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.

4 participants