Skip to content

Commit 91db3a3

Browse files
authored
Update deps and remove commonjs (#160)
1 parent 072690a commit 91db3a3

9 files changed

Lines changed: 474 additions & 535 deletions

File tree

.github/workflows/CI.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,9 @@ jobs:
1212
strategy:
1313
matrix:
1414
node-version:
15-
- 12.x
16-
- 14.x
17-
- 16.x
18-
- 18.x
1915
- 20.x
2016
- 22.x
17+
- 24.x
2118
steps:
2219
- uses: actions/checkout@v4
2320

.gitignore

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1 @@
11
node_modules/
2-
lib/
3-
!lib/package.json

.npmignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,3 @@ test/
99
.prettierignore
1010

1111
eslint.config.js
12-
rollup.config.js

.prettierignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1 @@
11
node_modules/
2-
lib/

eslint.config.js

Lines changed: 2 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -3,18 +3,10 @@ import eslintConfigPrettier from "eslint-config-prettier";
33
import globals from "globals";
44

55
export default [
6-
{
7-
ignores: ["lib"],
8-
},
96
js.configs.recommended,
107
eslintConfigPrettier,
118
{
12-
13-
languageOptions: {
14-
globals: {
15-
...globals["shared-node-browser"],
16-
},
17-
},
9+
languageOptions: { globals: { ...globals["shared-node-browser"] } },
1810

1911
rules: {
2012
strict: ["error", "global"],
@@ -33,13 +25,7 @@ export default [
3325
"no-var": ["error"],
3426
"prefer-arrow-callback": ["error"],
3527
"prefer-const": ["error"],
36-
"prefer-destructuring": [
37-
"error",
38-
{
39-
array: false,
40-
object: true,
41-
},
42-
],
28+
"prefer-destructuring": ["error", { array: false, object: true }],
4329
"prefer-rest-params": ["error"],
4430
"prefer-spread": ["error"],
4531
// Potentially slower

lib/package.json

Lines changed: 0 additions & 3 deletions
This file was deleted.

0 commit comments

Comments
 (0)