Compare commits

..
1 Commits
Author SHA1 Message Date
Frieder Bluemle acff43ce87 Fix ESLint setup (#240) 2021-12-16 11:58:25 +01:00
2 changed files with 6 additions and 2 deletions

No files matched your search

+4 -2
View File
@@ -1,8 +1,10 @@
module.exports = {
root: true,
extends: '@react-native-community',
parser: '@typescript-eslint/parser',
plugins: ['@typescript-eslint'],
rules: {
"no-shadow": "off",
"@typescript-eslint/no-shadow": ["error"],
'no-shadow': 'off',
'@typescript-eslint/no-shadow': ['error'],
},
};
+2
View File
@@ -20,6 +20,8 @@
"@types/jest": "^26.0.23",
"@types/react-native": "^0.66.4",
"@types/react-test-renderer": "^17.0.1",
"@typescript-eslint/eslint-plugin": "^5.7.0",
"@typescript-eslint/parser": "^5.7.0",
"babel-jest": "^26.6.3",
"eslint": "^7.14.0",
"jest": "^26.6.3",