Skip to content

Commit 5a532ac

Browse files
committed
ref: convert to ESM
1 parent d34e8ff commit 5a532ac

File tree

7 files changed

+707
-684
lines changed

7 files changed

+707
-684
lines changed

.github/workflows/node.js.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,9 @@ jobs:
88
runs-on: ubuntu-latest
99
strategy:
1010
matrix:
11-
node-version: [20.x, latest]
11+
node-version:
12+
- 20.x
13+
- latest
1214
steps:
1315
- uses: actions/checkout@v3
1416
- name: Use Node.js ${{ matrix.node-version }}

.jshintrc

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,9 @@
11
{
2+
"globals": {
3+
"crypto": true,
4+
"EventSource": true
5+
},
6+
"module": true,
27
"browser": true,
38
"node": true,
49
"esversion": 11,
@@ -16,7 +21,6 @@
1621
"plusplus": true,
1722
"undef": true,
1823
"unused": "vars",
19-
"strict": true,
2024
"maxdepth": 4,
2125
"maxstatements": 100,
2226
"maxcomplexity": 20

.prettierrc.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
{
2-
"printWidth": 80,
3-
"tabWidth": 2,
4-
"singleQuote": false,
52
"bracketSpacing": true,
3+
"printWidth": 80,
64
"proseWrap": "always",
7-
"semi": true,
8-
"trailingComma": "all"
5+
"singleQuote": false,
6+
"tabWidth": 2,
7+
"trailingComma": "all",
8+
"semi": true
99
}

0 commit comments

Comments
 (0)