2022-06-08 00:50:05 +02:00
|
|
|
module.exports = {
|
|
|
|
root: true,
|
2023-05-24 23:59:42 +02:00
|
|
|
extends: [
|
|
|
|
'@react-native-community',
|
2023-09-08 01:38:57 +02:00
|
|
|
'plugin:react/recommended',
|
2023-05-24 23:59:42 +02:00
|
|
|
'plugin:react-native-a11y/ios',
|
|
|
|
'prettier',
|
|
|
|
],
|
2022-06-08 00:50:05 +02:00
|
|
|
parser: '@typescript-eslint/parser',
|
2023-12-01 18:14:10 +01:00
|
|
|
plugins: ['@typescript-eslint', 'detox', 'react', 'lingui'],
|
2023-09-07 03:06:07 +02:00
|
|
|
rules: {
|
2023-09-08 01:38:57 +02:00
|
|
|
'react/no-unescaped-entities': 0,
|
2023-09-07 03:06:07 +02:00
|
|
|
'react-native/no-inline-styles': 0,
|
|
|
|
},
|
2023-01-24 18:03:18 +01:00
|
|
|
ignorePatterns: [
|
|
|
|
'**/__mocks__/*.ts',
|
2023-08-25 17:48:38 +02:00
|
|
|
'src/platform/polyfills.ts',
|
2023-07-14 02:39:43 +02:00
|
|
|
'src/third-party',
|
2023-01-24 18:03:18 +01:00
|
|
|
'ios',
|
|
|
|
'android',
|
|
|
|
'coverage',
|
2023-07-14 00:35:05 +02:00
|
|
|
'*.lock',
|
|
|
|
'.husky',
|
2023-07-28 17:29:37 +02:00
|
|
|
'patches',
|
2023-08-24 01:29:23 +02:00
|
|
|
'bskyweb',
|
2023-08-22 20:04:17 +02:00
|
|
|
'*.html',
|
2023-08-24 01:28:51 +02:00
|
|
|
'bskyweb',
|
2023-12-01 18:14:10 +01:00
|
|
|
'src/locale/locales/_build/',
|
|
|
|
'src/locale/locales/**/*.js',
|
2023-01-24 18:03:18 +01:00
|
|
|
],
|
2023-09-08 02:36:08 +02:00
|
|
|
settings: {
|
|
|
|
componentWrapperFunctions: ['observer'],
|
|
|
|
},
|
2022-06-09 20:03:25 +02:00
|
|
|
}
|