We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent acff43c commit bb78a08Copy full SHA for bb78a08
template/_eslintrc.js
@@ -3,8 +3,14 @@ module.exports = {
3
extends: '@react-native-community',
4
parser: '@typescript-eslint/parser',
5
plugins: ['@typescript-eslint'],
6
- rules: {
7
- 'no-shadow': 'off',
8
- '@typescript-eslint/no-shadow': ['error'],
9
- },
+ overrides: [
+ {
+ files: ['*.ts', '*.tsx'],
+ rules: {
10
+ '@typescript-eslint/no-shadow': ['error'],
11
+ 'no-shadow': 'off',
12
+ 'no-undef': 'off',
13
+ },
14
15
+ ],
16
};
0 commit comments