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 f62bcec commit acff43cCopy full SHA for acff43c
template/_eslintrc.js
@@ -1,8 +1,10 @@
1
module.exports = {
2
root: true,
3
extends: '@react-native-community',
4
+ parser: '@typescript-eslint/parser',
5
+ plugins: ['@typescript-eslint'],
6
rules: {
- "no-shadow": "off",
- "@typescript-eslint/no-shadow": ["error"],
7
+ 'no-shadow': 'off',
8
+ '@typescript-eslint/no-shadow': ['error'],
9
},
10
};
template/package.json
@@ -20,6 +20,8 @@
20
"@types/jest": "^26.0.23",
21
"@types/react-native": "^0.66.4",
22
"@types/react-test-renderer": "^17.0.1",
23
+ "@typescript-eslint/eslint-plugin": "^5.7.0",
24
+ "@typescript-eslint/parser": "^5.7.0",
25
"babel-jest": "^26.6.3",
26
"eslint": "^7.14.0",
27
"jest": "^26.6.3",
0 commit comments