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

pull/11028/head jitsi-meet_6973
Saúl Ibarra Corretgé 3 years ago committed by Saúl Ibarra Corretgé
parent fea59e472a
commit 1d275e1976
  1. 3
      react/.eslintrc.js
  2. 2
      react/features/shared-video/components/web/YoutubeVideoManager.js

@ -11,6 +11,9 @@ module.exports = {
'react/jsx-indent-props': 0
},
'settings': {
'flowtype': {
'onlyFilesWithFlowAnnotation': true
},
'react': {
'version': 'detect'
}

@ -15,7 +15,7 @@ import AbstractVideoManager, {
*
* @returns {void}
*/
class YoutubeVideoManager extends AbstractVideoManager<Props> {
class YoutubeVideoManager extends AbstractVideoManager {
/**
* Initializes a new YoutubeVideoManager instance.
*

Loading…
Cancel
Save