Skip to content
This repository has been archived by the owner on Mar 26, 2024. It is now read-only.

Commit

Permalink
chore: enable strict coverage threshold checking pre-commit
Browse files Browse the repository at this point in the history
  • Loading branch information
vaaski committed Feb 19, 2021
1 parent d580370 commit ae8a831
Show file tree
Hide file tree
Showing 6 changed files with 877 additions and 3 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
8 changes: 8 additions & 0 deletions .nycrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"check-coverage": true,
"reporter": ["lcov", "text-summary"],
"branches": 100,
"lines": 100,
"functions": 100,
"statements": 100
}
1 change: 1 addition & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"Userv",
"lcov",
"npmrc",
"pinst",
"sndcdn",
"urlify",
"vuepress"
Expand Down
Loading

0 comments on commit ae8a831

Please sign in to comment.