2022-06-30 06:50:52 +00:00
|
|
|
module.exports = {
|
|
|
|
root: true,
|
|
|
|
extends: '@react-native-community',
|
|
|
|
parser: '@typescript-eslint/parser',
|
|
|
|
plugins: ['@typescript-eslint'],
|
|
|
|
overrides: [
|
|
|
|
{
|
2022-11-01 06:59:33 +00:00
|
|
|
files: ['*.ts', '*.tsx', '*.js'],
|
2022-06-30 06:50:52 +00:00
|
|
|
rules: {
|
|
|
|
'@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
|
|
|
},
|
|
|
|
},
|
|
|
|
],
|
2022-10-31 08:00:10 +00:00
|
|
|
}
|