mirror of
https://github.com/nextcloud/spreed.git
synced 2025-07-22 12:01:02 +00:00
fix(eslint): apply 'curly' rule
- manually put to newlines Signed-off-by: Maksim Sukharev <antreesy.web@gmail.com>
This commit is contained in:
@ -23,7 +23,6 @@ export default [
|
||||
'@typescript-eslint/no-unused-expressions': 'off', // non-fixable
|
||||
'@typescript-eslint/no-unused-vars': 'off', // non-fixable
|
||||
'@typescript-eslint/no-use-before-define': 'off', // non-fixable
|
||||
curly: 'off', // adds brackets
|
||||
eqeqeq: 'off', // non-fixable
|
||||
'jsdoc/check-param-names': 'off', // need to respect JS
|
||||
'jsdoc/check-tag-names': 'off', // need to respect JS
|
||||
|
@ -160,7 +160,9 @@ export default {
|
||||
return t('spreed', 'Edit default permissions for participants in <strong>{conversationName}</strong>', {
|
||||
conversationName: this.conversationName,
|
||||
})
|
||||
} else throw Error('you need to fill either the conversationName or the displayName props')
|
||||
} else {
|
||||
throw Error('you need to fill either the conversationName or the displayName props')
|
||||
}
|
||||
},
|
||||
|
||||
permissionsWithDefault() {
|
||||
|
@ -259,7 +259,9 @@ export default {
|
||||
|
||||
if (peer) {
|
||||
return !peer.sessionIds.length
|
||||
} else return false
|
||||
} else {
|
||||
return false
|
||||
}
|
||||
},
|
||||
|
||||
participantsInCall() {
|
||||
|
@ -54,7 +54,9 @@ export default function attachmediastream(stream, el, options) {
|
||||
}
|
||||
}
|
||||
|
||||
if (opts.autoplay) element.autoplay = 'autoplay'
|
||||
if (opts.autoplay) {
|
||||
element.autoplay = 'autoplay'
|
||||
}
|
||||
element.muted = !!opts.muted
|
||||
if (!opts.audio) {
|
||||
['', 'moz', 'webkit', 'o', 'ms'].forEach(function(prefix) {
|
||||
|
@ -22,7 +22,9 @@ self.onmessage = (e) => {
|
||||
makeTFLite(e.data.simd)
|
||||
break
|
||||
case 'resizeSource':
|
||||
if (!self.compiled) return
|
||||
if (!self.compiled) {
|
||||
return
|
||||
}
|
||||
resizeSource(e.data.imageData, e.data.frameId)
|
||||
break
|
||||
case 'runInference':
|
||||
|
Reference in New Issue
Block a user