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

This commit is contained in:
Saúl Ibarra Corretgé 2022-02-25 10:52:07 +01:00 committed by Saúl Ibarra Corretgé
parent fea59e472a
commit 1d275e1976
2 changed files with 4 additions and 1 deletions

View File

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

View File

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