Skip to content

Commit

Permalink
Fix linter
Browse files Browse the repository at this point in the history
  • Loading branch information
ai committed May 16, 2024
1 parent 25d34b9 commit 63404b9
Show file tree
Hide file tree
Showing 10 changed files with 220 additions and 242 deletions.
4 changes: 2 additions & 2 deletions client/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@ let client = new Client({

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

type UserRenameAction = Action & {
type UserRenameAction = {
name: string
type: 'user/rename'
userId: string
}
} & Action

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

Expand Down
6 changes: 6 additions & 0 deletions eslint.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,12 @@ export default [
rules: {
'@typescript-eslint/no-explicit-any': 'off',
'camelcase': 'off',
'n/no-unsupported-features/node-builtins': [
'error',
{
ignores: ['WebSocket', 'navigator', 'crypto', 'CryptoKey']
}
],
'no-console': 'off',
'symbol-description': 'off'
}
Expand Down
48 changes: 24 additions & 24 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -76,45 +76,45 @@
"fast-json-stable-stringify": "^2.1.0",
"nanodelay": "^2.0.2",
"nanoevents": "^9.0.0",
"nanoid": "^5.0.6"
"nanoid": "^5.0.7"
},
"devDependencies": {
"@logux/core": "github:logux/core#next",
"@logux/eslint-config": "^53.0.0",
"@logux/eslint-config": "^53.2.0",
"@nanostores/preact": "^0.5.1",
"@nanostores/react": "^0.7.2",
"@nanostores/vue": "^0.10.0",
"@peculiar/webcrypto": "^1.4.6",
"@size-limit/preset-small-lib": "^11.1.2",
"@size-limit/preset-small-lib": "^11.1.4",
"@testing-library/preact": "^3.2.3",
"@testing-library/react": "^14.2.2",
"@testing-library/react": "^15.0.7",
"@testing-library/vue": "^8.0.3",
"@types/node": "^20.12.2",
"@types/react": "^18.2.73",
"@types/react-dom": "^18.2.23",
"@types/node": "^20.12.12",
"@types/react": "^18.3.2",
"@types/react-dom": "^18.3.0",
"@types/ws": "^8.5.10",
"@vitest/coverage-v8": "^1.4.0",
"@vue/compiler-sfc": "^3.4.21",
"@vitest/coverage-v8": "^1.6.0",
"@vue/compiler-sfc": "^3.4.27",
"check-dts": "^0.7.2",
"clean-publish": "^4.3.0",
"eslint": "^8.57.0",
"clean-publish": "^4.4.0",
"eslint": "^9.2.0",
"fake-indexeddb": "^5.0.2",
"globals": "^15.0.0",
"happy-dom": "^14.3.10",
"globals": "^15.2.0",
"happy-dom": "^14.11.0",
"nanospy": "^1.0.0",
"nanostores": "^0.10.2",
"picocolors": "^1.0.0",
"nanostores": "^0.10.3",
"picocolors": "^1.0.1",
"postcss": "^8.4.38",
"preact": "10.20.1",
"preact": "10.22.0",
"print-snapshots": "^0.4.2",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"size-limit": "^11.1.2",
"svgo": "^3.2.0",
"typescript": "^5.4.3",
"vite": "^5.2.7",
"vitest": "^1.4.0",
"vue": "^3.4.21"
"react": "^18.3.1",
"react-dom": "^18.3.1",
"size-limit": "^11.1.4",
"svgo": "^3.3.2",
"typescript": "^5.4.5",
"vite": "^5.2.11",
"vitest": "^1.6.0",
"vue": "^3.4.27"
},
"prettier": {
"arrowParens": "avoid",
Expand Down
Loading

0 comments on commit 63404b9

Please sign in to comment.