jiti-meet/react/.eslintrc.js

34 lines
848 B
JavaScript
Raw Normal View History

module.exports = {
'extends': [
'../.eslintrc.js',
'@jitsi/eslint-config/flow',
'@jitsi/eslint-config/jsdoc',
'@jitsi/eslint-config/react',
'.eslintrc-react-native.js'
2021-11-04 21:10:43 +00:00
],
'overrides': [
{
'files': [ '*.ts', '*.tsx' ],
extends: [ '@jitsi/eslint-config/typescript' ],
parserOptions: {
sourceType: 'module',
project: [ './tsconfig.web.json', './tsconfig.native.json' ]
}
}
],
2021-11-04 21:10:43 +00:00
'rules': {
'flowtype/no-types-missing-file-annotation': 0,
2021-11-04 21:10:43 +00:00
// XXX remove this eventually.
'react/jsx-indent-props': 0
},
'settings': {
'flowtype': {
'onlyFilesWithFlowAnnotation': true
},
'react': {
'version': 'detect'
}
2021-11-04 21:10:43 +00:00
}
};