Compare commits

...

2 Commits

Author SHA1 Message Date
Timo
3312215243 Merge branch 'livekit' into hughns/restrict-import-from-matrix-js-sdk 2025-08-04 18:54:04 +02:00
Hugh Nimmo-Smith
082e2383f2 Lint rule to disallow deep imports from matrix-js-sdk/src/matrixrtc/* 2025-01-10 10:58:11 +00:00

View File

@@ -45,6 +45,17 @@ module.exports = {
// To encourage good usage of RxJS:
"rxjs/no-exposed-subjects": "error",
"rxjs/finnish": ["error", { names: { "^this$": false } }],
"import/no-restricted-imports": [
"error",
{
patterns: [
{
regex: "matrix-js-sdk/src/matrixrtc/.*",
message: "Use the matrix-js-sdk/src/matrixrtc entrypoint instead.",
},
],
},
],
},
settings: {
react: {