2016-10-05 14:36:59 +00:00
|
|
|
module.exports = {
|
2018-06-13 09:06:22 +00:00
|
|
|
'extends': [
|
|
|
|
'../.eslintrc.js',
|
2021-11-10 10:37:43 +00:00
|
|
|
'@jitsi/eslint-config/flow',
|
|
|
|
'@jitsi/eslint-config/jsdoc',
|
|
|
|
'@jitsi/eslint-config/react',
|
2018-06-13 09:06:22 +00:00
|
|
|
'.eslintrc-react-native.js'
|
2021-11-04 21:10:43 +00:00
|
|
|
],
|
2022-07-11 12:30:37 +00:00
|
|
|
'overrides': [
|
|
|
|
{
|
|
|
|
'files': [ '*.ts', '*.tsx' ],
|
2022-10-18 16:21:48 +00:00
|
|
|
extends: [ '@jitsi/eslint-config/typescript' ],
|
|
|
|
parserOptions: {
|
|
|
|
sourceType: 'module',
|
|
|
|
project: [ './tsconfig.web.json', './tsconfig.native.json' ]
|
|
|
|
}
|
2022-07-11 12:30:37 +00:00
|
|
|
}
|
|
|
|
],
|
2021-11-04 21:10:43 +00:00
|
|
|
'rules': {
|
2022-03-02 12:39:50 +00:00
|
|
|
'flowtype/no-types-missing-file-annotation': 0,
|
|
|
|
|
2021-11-04 21:10:43 +00:00
|
|
|
// XXX remove this eventually.
|
|
|
|
'react/jsx-indent-props': 0
|
2021-11-09 14:07:20 +00:00
|
|
|
},
|
|
|
|
'settings': {
|
2022-02-25 09:52:07 +00:00
|
|
|
'flowtype': {
|
|
|
|
'onlyFilesWithFlowAnnotation': true
|
|
|
|
},
|
2021-11-09 14:07:20 +00:00
|
|
|
'react': {
|
|
|
|
'version': 'detect'
|
|
|
|
}
|
2021-11-04 21:10:43 +00:00
|
|
|
}
|
2016-10-05 14:36:59 +00:00
|
|
|
};
|