17 lines
342 B
JavaScript
17 lines
342 B
JavaScript
module.exports = {
|
|
root: true,
|
|
extends: '@react-native-community',
|
|
parser: '@typescript-eslint/parser',
|
|
plugins: ['@typescript-eslint'],
|
|
overrides: [
|
|
{
|
|
files: ['*.ts', '*.tsx'],
|
|
rules: {
|
|
'@typescript-eslint/no-shadow': ['error'],
|
|
'no-shadow': 'off',
|
|
'no-undef': 'off',
|
|
},
|
|
},
|
|
],
|
|
}
|