2016-10-05 09:36:59 -05:00
|
|
|
module.exports = {
|
2025-03-17 14:08:55 +01:00
|
|
|
extends: [
|
2018-06-13 11:06:22 +02:00
|
|
|
'../.eslintrc.js',
|
2021-11-10 11:37:43 +01:00
|
|
|
'@jitsi/eslint-config/jsdoc',
|
|
|
|
|
'@jitsi/eslint-config/react',
|
2018-06-13 11:06:22 +02:00
|
|
|
'.eslintrc-react-native.js'
|
2021-11-04 22:10:43 +01:00
|
|
|
],
|
2025-03-17 14:08:55 +01:00
|
|
|
overrides: [
|
2022-07-11 14:30:37 +02:00
|
|
|
{
|
2025-03-17 14:08:55 +01:00
|
|
|
files: [ '*.ts', '*.tsx' ],
|
2022-10-18 19:21:48 +03:00
|
|
|
extends: [ '@jitsi/eslint-config/typescript' ],
|
|
|
|
|
parserOptions: {
|
|
|
|
|
project: [ './tsconfig.web.json', './tsconfig.native.json' ]
|
2022-10-20 12:11:27 +03:00
|
|
|
},
|
|
|
|
|
rules: {
|
2025-01-10 12:08:51 +01:00
|
|
|
// TODO: Remove these and fix the warnings
|
|
|
|
|
'@typescript-eslint/no-unsafe-function-type': 0,
|
|
|
|
|
'@typescript-eslint/no-wrapper-object-types': 0,
|
|
|
|
|
'@typescript-eslint/no-require-imports': 0
|
2022-10-18 19:21:48 +03:00
|
|
|
}
|
2022-07-11 14:30:37 +02:00
|
|
|
}
|
|
|
|
|
],
|
2025-03-17 14:08:55 +01:00
|
|
|
settings: {
|
|
|
|
|
react: {
|
2021-11-09 15:07:20 +01:00
|
|
|
'version': 'detect'
|
|
|
|
|
}
|
2021-11-04 22:10:43 +01:00
|
|
|
}
|
2016-10-05 09:36:59 -05:00
|
|
|
};
|