Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: direct messages #120

Closed
wants to merge 21 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
86 changes: 85 additions & 1 deletion js-peer/.eslintrc.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,87 @@
{
"extends": "next/core-web-vitals"
"env": {
"browser": true,
"node": true,
"es2024": true,
"jest": true
},
"globals": {
"MediaStream": true,
"MediaStreamTrack": true,
"RTCPeerConnection": true,
"RTCSessionDescription": true,
"RTCSessionDescriptionInit": true,
"RTCRtpSender": true,
"RTCRtpReceiver": true,
"RTCIceTransport": true,
"RTCDtlsTransport": true,
"RTCIceGatherer": true,
"RTCSctpTransport": true,
"RTCCertificate": true
},
"plugins": ["@typescript-eslint"],
"extends": [
"eslint:recommended",
"next/core-web-vitals",
"next",
"prettier",
"plugin:react/recommended",
"plugin:prettier/recommended"
],
"settings": {
"react": {
"version": "detect"
}
},
"ignorePatterns": ["node_modules/", "build/", ".next/", "src/lib/protobuf/"],
"rules": {
"prettier/prettier": [
"warn",
{},
{
"usePrettierrc": true
}
],
"import/no-named-as-default": 0,
"@typescript-eslint/camelcase": 0,
"@typescript-eslint/explicit-function-return-type": 0,
"import/order": [
"error",
{
"alphabetize": {
"caseInsensitive": true,
"order": "asc"
},
"groups": [
"builtin",
"external",
"parent",
"sibling",
"index",
"object"
]
}
],
"import/named": 0,
"no-console": "off",
"react-hooks/rules-of-hooks": "error",
"react/react-in-jsx-scope": "off",
"eol-last": ["error", "always"],
"padding-line-between-statements": [
"error",
{
"blankLine": "always",
"prev": ["const", "let", "var", "if"],
"next": "*"
},
{
"blankLine": "any",
"prev": ["const", "let", "var"],
"next": ["const", "let", "var"]
}
],
"prefer-template": "error",
"no-unused-vars": "off",
"@typescript-eslint/no-unused-vars": "error"
}
}
2 changes: 2 additions & 0 deletions js-peer/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -34,3 +34,5 @@ yarn-error.log*
# typescript
*.tsbuildinfo
next-env.d.ts

certificates
1 change: 1 addition & 0 deletions js-peer/.prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
src/lib/protobuf
1 change: 0 additions & 1 deletion js-peer/blockies.d.ts

This file was deleted.

Loading