Skip to content

Commit 63404b9

Browse files
committed
Fix linter
1 parent 25d34b9 commit 63404b9

File tree

10 files changed

+220
-242
lines changed

10 files changed

+220
-242
lines changed

client/types.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,11 @@ let client = new Client({
1111

1212
client.log.add({ type: 'A' }, { extra: 1 })
1313

14-
type UserRenameAction = Action & {
14+
type UserRenameAction = {
1515
name: string
1616
type: 'user/rename'
1717
userId: string
18-
}
18+
} & Action
1919

2020
let userRename = defineAction<UserRenameAction>('user/rename')
2121

eslint.config.js

+6
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,12 @@ export default [
1414
rules: {
1515
'@typescript-eslint/no-explicit-any': 'off',
1616
'camelcase': 'off',
17+
'n/no-unsupported-features/node-builtins': [
18+
'error',
19+
{
20+
ignores: ['WebSocket', 'navigator', 'crypto', 'CryptoKey']
21+
}
22+
],
1723
'no-console': 'off',
1824
'symbol-description': 'off'
1925
}

package.json

+24-24
Original file line numberDiff line numberDiff line change
@@ -76,45 +76,45 @@
7676
"fast-json-stable-stringify": "^2.1.0",
7777
"nanodelay": "^2.0.2",
7878
"nanoevents": "^9.0.0",
79-
"nanoid": "^5.0.6"
79+
"nanoid": "^5.0.7"
8080
},
8181
"devDependencies": {
8282
"@logux/core": "github:logux/core#next",
83-
"@logux/eslint-config": "^53.0.0",
83+
"@logux/eslint-config": "^53.2.0",
8484
"@nanostores/preact": "^0.5.1",
8585
"@nanostores/react": "^0.7.2",
8686
"@nanostores/vue": "^0.10.0",
8787
"@peculiar/webcrypto": "^1.4.6",
88-
"@size-limit/preset-small-lib": "^11.1.2",
88+
"@size-limit/preset-small-lib": "^11.1.4",
8989
"@testing-library/preact": "^3.2.3",
90-
"@testing-library/react": "^14.2.2",
90+
"@testing-library/react": "^15.0.7",
9191
"@testing-library/vue": "^8.0.3",
92-
"@types/node": "^20.12.2",
93-
"@types/react": "^18.2.73",
94-
"@types/react-dom": "^18.2.23",
92+
"@types/node": "^20.12.12",
93+
"@types/react": "^18.3.2",
94+
"@types/react-dom": "^18.3.0",
9595
"@types/ws": "^8.5.10",
96-
"@vitest/coverage-v8": "^1.4.0",
97-
"@vue/compiler-sfc": "^3.4.21",
96+
"@vitest/coverage-v8": "^1.6.0",
97+
"@vue/compiler-sfc": "^3.4.27",
9898
"check-dts": "^0.7.2",
99-
"clean-publish": "^4.3.0",
100-
"eslint": "^8.57.0",
99+
"clean-publish": "^4.4.0",
100+
"eslint": "^9.2.0",
101101
"fake-indexeddb": "^5.0.2",
102-
"globals": "^15.0.0",
103-
"happy-dom": "^14.3.10",
102+
"globals": "^15.2.0",
103+
"happy-dom": "^14.11.0",
104104
"nanospy": "^1.0.0",
105-
"nanostores": "^0.10.2",
106-
"picocolors": "^1.0.0",
105+
"nanostores": "^0.10.3",
106+
"picocolors": "^1.0.1",
107107
"postcss": "^8.4.38",
108-
"preact": "10.20.1",
108+
"preact": "10.22.0",
109109
"print-snapshots": "^0.4.2",
110-
"react": "^18.2.0",
111-
"react-dom": "^18.2.0",
112-
"size-limit": "^11.1.2",
113-
"svgo": "^3.2.0",
114-
"typescript": "^5.4.3",
115-
"vite": "^5.2.7",
116-
"vitest": "^1.4.0",
117-
"vue": "^3.4.21"
110+
"react": "^18.3.1",
111+
"react-dom": "^18.3.1",
112+
"size-limit": "^11.1.4",
113+
"svgo": "^3.3.2",
114+
"typescript": "^5.4.5",
115+
"vite": "^5.2.11",
116+
"vitest": "^1.6.0",
117+
"vue": "^3.4.27"
118118
},
119119
"prettier": {
120120
"arrowParens": "avoid",

0 commit comments

Comments
 (0)