Skip to content

Commit b9dd48a

Browse files
committed
Move c8 and mocha configs to separate files
1 parent 88ceebd commit b9dd48a

3 files changed

Lines changed: 19 additions & 19 deletions

File tree

.c8rc.json

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
{
2+
"include": [
3+
"lib",
4+
"tasks"
5+
],
6+
"reporter": [
7+
"html",
8+
"lcovonly",
9+
"text"
10+
]
11+
}

.mocharc.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"timeout": 20000,
3+
"check-leaks": true,
4+
"throw-deprecation": true,
5+
"trace-deprecation": true,
6+
"trace-warnings": true,
7+
"use-strict": true
8+
}

package.json

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -49,25 +49,6 @@
4949
"files": [
5050
"{lib,tasks}/**/*.js"
5151
],
52-
"c8": {
53-
"include": [
54-
"lib",
55-
"tasks"
56-
],
57-
"reporter": [
58-
"html",
59-
"lcovonly",
60-
"text"
61-
]
62-
},
63-
"mocha": {
64-
"timeout": 20000,
65-
"check-leaks": true,
66-
"throw-deprecation": true,
67-
"trace-deprecation": true,
68-
"trace-warnings": true,
69-
"use-strict": true
70-
},
7152
"xo": {
7253
"space": true,
7354
"rules": {

0 commit comments

Comments
 (0)