Skip to content

Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.

fix(lint) don't check for Flow types on files without the annotation

Saúl Ibarra Corretgé1d275e19761d
diff --git a/react/.eslintrc.js b/react/.eslintrc.js
index 382f11f942..ee45b5a2db 100644
--- a/react/.eslintrc.js
+++ b/react/.eslintrc.js
@@ -11,6 +11,9 @@ module.exports = {
'react/jsx-indent-props': 0
},
'settings': {
+ 'flowtype': {
+ 'onlyFilesWithFlowAnnotation': true
+ },
'react': {
'version': 'detect'
}
diff --git a/react/features/shared-video/components/web/YoutubeVideoManager.js b/react/features/shared-video/components/web/YoutubeVideoManager.js
index 97e394bde0..bb5222c6a4 100644
--- a/react/features/shared-video/components/web/YoutubeVideoManager.js
+++ b/react/features/shared-video/components/web/YoutubeVideoManager.js
@@ -15,7 +15,7 @@ import AbstractVideoManager, {
*
* @returns {void}
*/
-class YoutubeVideoManager extends AbstractVideoManager<Props> {
+class YoutubeVideoManager extends AbstractVideoManager {
/**
* Initializes a new YoutubeVideoManager instance.
*