Compare commits

...
6 Commits
Author SHA1 Message Date
Yuta Sugimura f62bcec9e2 feat: update to react native 0.66.4 (#239) 2021-12-15 08:19:49 +01:00
Mike Hardy a67375cc3b fix(lint): typescript requires special no-shadow (#238)
In pure javascript eslint config from `@react-native-community`, the no-shadow rule is on,
which is good, but for typescript it generates false-positives and needs a specific configuration change
to use a typescript-specific rule

Reference: 
- https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/no-shadow.md
- https://github.com/typescript-eslint/typescript-eslint/issues/2552#issuecomment-691694839
2021-11-29 08:43:21 +01:00
Yuta SugimuraandEmin Khateeb 1d836defe4 feat: update to react native 0.66.3 (#234)
Co-authored-by: Emin Khateeb <emin93@users.noreply.github.com>
2021-11-15 18:09:58 +01:00
Emin Khateeb e5fce57edb Updated typescript and @types/react-native (#233) 2021-11-15 18:09:05 +01:00
Yuta Sugimura ed82b95881 feat: update to react native 0.66.2 (#231) 2021-11-04 12:43:47 +01:00
Yuta Sugimura 55701acc91 feat: update to react native 0.66.1 (#227) 2021-10-16 21:56:21 +02:00
2 changed files with 7 additions and 3 deletions

No files matched your search

+4
View File
@@ -1,4 +1,8 @@
module.exports = {
root: true,
extends: '@react-native-community',
rules: {
"no-shadow": "off",
"@typescript-eslint/no-shadow": ["error"],
},
};
+3 -3
View File
@@ -11,21 +11,21 @@
},
"dependencies": {
"react": "17.0.2",
"react-native": "0.66.0"
"react-native": "0.66.4"
},
"devDependencies": {
"@babel/core": "^7.12.9",
"@babel/runtime": "^7.12.5",
"@react-native-community/eslint-config": "^2.0.0",
"@types/jest": "^26.0.23",
"@types/react-native": "^0.65.0",
"@types/react-native": "^0.66.4",
"@types/react-test-renderer": "^17.0.1",
"babel-jest": "^26.6.3",
"eslint": "^7.14.0",
"jest": "^26.6.3",
"metro-react-native-babel-preset": "^0.66.2",
"react-test-renderer": "17.0.2",
"typescript": "^3.8.3"
"typescript": "^4.4.4"
},
"resolutions": {
"@types/react": "^17"