bigbluebutton-Github/bigbluebutton-html5/.eslintrc.js
Mario Jr cddca95ad1 Fixes and improvements on pr #10129 - dynamic change audio device
Allow listenonly users to change output devices
Fixed dynamic audio device change for firefox
Fixed shortcuts for audio join/leave
Show (with a bold font) the current selected device
[performance] Prevent calling mediaDevices.enumerateDevices every time we render
the selector. This adds a delay (~200ms, on my chrome setup) to render this component
[performance] Do not call enumerateDevices to search for new devices, instead we listen on mediaDevices.deviceChange event
Small refactoring and fixed a few errors that were being throw in browser's console
Fixed device selection when this is done in audio-settings modal
Fallback to default device when current device is removed
Truncate device name length
Renamed "Input","Output" labels to "Microphone","Speakers", respectively
Update eslint rule for accessKey
2021-03-29 18:55:17 -03:00

28 lines
576 B
JavaScript

module.exports = {
"extends": "airbnb",
"plugins": [
"react",
"jsx-a11y",
"import",
],
"env": {
"es6": true,
"node": true,
"browser": true,
"meteor": true,
"jasmine": true,
},
"rules": {
"no-underscore-dangle": 0,
"import/extensions": [2, "never"],
"import/no-absolute-path": 0,
"import/no-unresolved": 0,
"import/no-extraneous-dependencies": 1,
"react/prop-types": 1,
"jsx-a11y/no-access-key": 0,
},
"globals": {
"browser": "writable",
},
};