diff --git a/bigbluebutton-html5/.eslintrc.js b/bigbluebutton-html5/.eslintrc.js index ef1f39f835cf30cb836a8b2c6cf7cc760cb497b8..b93b3575a49bb8e24ac18da4470a96be92138116 100644 --- a/bigbluebutton-html5/.eslintrc.js +++ b/bigbluebutton-html5/.eslintrc.js @@ -25,7 +25,6 @@ module.exports = { 'jsx-a11y/no-access-key': 0, 'react/jsx-props-no-spreading': 'off', 'max-classes-per-file': ['error', 2], - 'no-param-reassign': ['error', { props: false }], }, globals: { browser: 'writable', diff --git a/bigbluebutton-html5/imports/ui/components/muted-alert/component.jsx b/bigbluebutton-html5/imports/ui/components/muted-alert/component.jsx index 48d766f31b5f24f9c3c4f55342c064607dc34b27..3a5d03ff4487930faba45ab60899137b835e9243 100644 --- a/bigbluebutton-html5/imports/ui/components/muted-alert/component.jsx +++ b/bigbluebutton-html5/imports/ui/components/muted-alert/component.jsx @@ -77,10 +77,12 @@ class MutedAlert extends Component { } } + /* eslint-disable no-param-reassign */ enableInputStreamAudioTracks() { if (!this.inputStream) return; this.inputStream.getAudioTracks().forEach((t) => { t.enabled = true; }); } + /* eslint-enable no-param-reassign */ resetTimer() { if (this.timer) clearTimeout(this.timer);