2022-06-30 06:50:52 +00:00
|
|
|
module.exports = {
|
|
|
|
root: true,
|
2023-07-17 04:45:21 +00:00
|
|
|
extends: '@react-native',
|
2022-06-30 06:50:52 +00:00
|
|
|
overrides: [
|
|
|
|
{
|
2022-11-01 06:59:33 +00:00
|
|
|
files: ['*.ts', '*.tsx', '*.js'],
|
2022-06-30 06:50:52 +00:00
|
|
|
rules: {
|
2023-06-29 03:31:24 +00:00
|
|
|
'jsx-quotes': 0,
|
|
|
|
'prettier/prettier': 0,
|
2022-06-30 06:50:52 +00:00
|
|
|
'@typescript-eslint/no-shadow': ['error'],
|
|
|
|
'no-shadow': 'off',
|
|
|
|
'no-undef': 'off',
|
2022-10-31 23:30:06 +00:00
|
|
|
semi: 'off',
|
|
|
|
curly: 'off',
|
|
|
|
'react/react-in-jsx-scope': 'off',
|
|
|
|
'react-native/no-inline-styles': 'off',
|
2022-11-01 03:50:03 +00:00
|
|
|
'no-spaced-func': 'off',
|
2022-06-30 06:50:52 +00:00
|
|
|
},
|
|
|
|
},
|
|
|
|
],
|
2023-07-17 04:46:23 +00:00
|
|
|
ignorePatterns: ['coverage/', 'mock-providers.tsx'],
|
2022-10-31 08:00:10 +00:00
|
|
|
}
|