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

Commit

Permalink
chore: Code consistency (#379)
Browse files Browse the repository at this point in the history
  • Loading branch information
helio-frota committed Mar 3, 2021
1 parent 2189867 commit ae7c040
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 2 deletions.
1 change: 1 addition & 0 deletions .husky/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
_
4 changes: 4 additions & 0 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

npm test
6 changes: 6 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 4 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,11 @@
"description": "License-reporter gathers license information and reports them in various formats.",
"main": "index.js",
"scripts": {
"pretest": "eslint test/lib/*.js index.js lib/modules/*.js lib/commands/*.js lib/utils/*.js",
"pretest": "eslint --ignore-path .gitignore test/lib/*.js index.js lib/modules/*.js lib/commands/*.js lib/utils/*.js",
"test": "jest",
"watch-test": "jest --watch",
"coverage": "jest --coverage"
"coverage": "jest --coverage",
"prepare": "husky install"
},
"files": [
"bin",
Expand Down Expand Up @@ -41,6 +42,7 @@
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-promise": "^4.2.1",
"eslint-plugin-standard": "^4.1.0",
"husky": "^5.1.3",
"jest": "^26.5.3",
"proxyquire": "^2.1.3",
"rewire": "^5.0.0"
Expand Down

0 comments on commit ae7c040

Please sign in to comment.