Skip to content

Commit 69986ba

Browse files
committed
chore: use ESM for mocharc and ncurc
1 parent a7afb58 commit 69986ba

4 files changed

Lines changed: 6 additions & 10 deletions

File tree

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
'use strict';
2-
3-
module.exports = {
1+
export default {
42
reporter: 'mocha-multi-reporters'
53
};

.ncurc.cjs renamed to .ncurc.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
1-
'use strict';
2-
3-
module.exports = {
1+
export default {
42
reject: [
53
// Until typedoc supports
64
'typescript'

‎.npmignore‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,10 @@ docs
1212
coverage
1313
badges
1414
mocha-multi-reporters.json
15-
.mocharc.cjs
15+
.mocharc.js
1616
.github
1717
.nojekyll
18-
.ncurc.cjs
18+
.ncurc.js
1919
ignore
2020
pnpm-lock.yaml
2121
pnpm-workspace.yaml

‎package.json‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -118,8 +118,8 @@
118118
"json-summary"
119119
],
120120
"exclude": [
121-
".mocharc.cjs",
122-
".ncurc.cjs",
121+
".mocharc.js",
122+
".ncurc.js",
123123
"eslint.config.js",
124124
"rollup.config.js",
125125
".idea",

0 commit comments

Comments
 (0)