-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The SFU is a server used to relay streaming between the participants of a call to provide better scalability and performance than the current peer-to-peer connections. [README](https://github.com/odoo/sfu/tree/master-discuss-rtc-server2-tso/) Old PR: odoo/enterprise#45861 Related to: odoo/odoo#132153 task-2765922
- Loading branch information
1 parent
1fe1dd5
commit 5c3c459
Showing
31 changed files
with
11,787 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,69 @@ | ||
// Based on Odoo's .eslintrc.js | ||
{ | ||
"extends": ["eslint:recommended", "plugin:prettier/recommended", "plugin:node/recommended"], | ||
"parserOptions": { | ||
"ecmaVersion": 2022, | ||
"sourceType": "module" | ||
}, | ||
"env": { | ||
"node": true, | ||
"browser": false, | ||
"es2022": true | ||
}, | ||
"overrides": [ | ||
{ | ||
"files": ["tests/utils/*.js", "tests/*.js"], | ||
"plugins": ["jest", "import"], | ||
"env": { | ||
"jest": true, | ||
"jest/globals": true | ||
}, | ||
"extends": ["plugin:jest/recommended"] | ||
}, | ||
{ | ||
"files": ["src/client.js"], | ||
"env": { | ||
"browser": true, | ||
"node": false | ||
} | ||
}, | ||
{ | ||
"files": ["src/shared/*.js"], | ||
"env": { | ||
"browser": true, | ||
"node": true | ||
} | ||
} | ||
], | ||
"ignorePatterns": "dist/*", | ||
"rules": { | ||
"prettier/prettier": ["error", { | ||
"tabWidth": 4, | ||
"semi": true, | ||
"singleQuote": false, | ||
"printWidth": 100, | ||
"endOfLine": "auto" | ||
}], | ||
"node/no-unsupported-features/es-syntax": "off", | ||
"node/no-missing-import": "off", | ||
"no-console": "error", | ||
"no-undef": "error", | ||
"no-restricted-globals": ["error", "event", "self"], | ||
"no-const-assign": ["error"], | ||
"no-debugger": ["error"], | ||
"no-dupe-class-members": ["error"], | ||
"no-dupe-keys": ["error"], | ||
"no-dupe-args": ["error"], | ||
"no-dupe-else-if": ["error"], | ||
"no-unsafe-negation": ["error"], | ||
"no-duplicate-imports": ["error"], | ||
"valid-typeof": ["error"], | ||
"no-unused-vars": ["error", { "vars": "all", "args": "none", "ignoreRestSiblings": false, "caughtErrors": "all" }], | ||
"curly": ["error", "all"], | ||
"no-restricted-syntax": ["error", "PrivateIdentifier"], | ||
"prefer-const": ["error", { | ||
"destructuring": "all", | ||
"ignoreReadBeforeAssign": true | ||
}] | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
node_modules | ||
|
||
# made with jest coverage | ||
coverage | ||
/bundle | ||
|
||
# whitelist | ||
!.eslintrc.json | ||
!package.json | ||
!jsconfig.json |
Oops, something went wrong.