Compare commits

...
6 Commits
Author SHA1 Message Date
Leo Taifa Merinen 95a17b285b Update tsconfig.json (#125) 2020-03-27 07:42:17 +01:00
Frieder Bluemle e12d9eccfa Fix file mode and whitespace errors (#123) 2020-03-20 19:35:09 +01:00
Radek Czemerys 57e0381f24 chore: Create CODEOWNERS
https://github.com/react-native-community/.github/issues/40
2020-03-09 17:39:33 +01:00
max 82aff0b000 Fixed prettier nullish chaining bug (#120)
In the `@react-native-community/eslint-config` package a quite outdated version of prettier is used which does not support the nullish chaining yet. While adding prettier to the devDependencies, this bug is fixed.
2020-02-18 10:24:07 +01:00
Jesse Katsumata 5d775c5ac7 chore: update @types/react-native and community eslint-config (#119) 2020-02-17 10:03:36 +01:00
Jesse Katsumata dda75c0514 chore: apply prettier (#115) 2020-01-06 12:18:08 +01:00
16 changed files with 14 additions and 12 deletions

No files matched your search

+1 -1
View File
@@ -1,3 +1,3 @@
node_modules/ node_modules/
.vscode/ .vscode/
.DS_Store .DS_Store
+1
View File
@@ -0,0 +1 @@
* @emin93 @radko93
+1 -1
View File
@@ -12,4 +12,4 @@ Please add the log output here.
## Steps to reproduce ## Steps to reproduce
1. 1.
+2 -2
View File
@@ -46,8 +46,8 @@ const App = () => {
<View style={styles.sectionContainer}> <View style={styles.sectionContainer}>
<Text style={styles.sectionTitle}>Step One</Text> <Text style={styles.sectionTitle}>Step One</Text>
<Text style={styles.sectionDescription}> <Text style={styles.sectionDescription}>
Edit <Text style={styles.highlight}>App.tsx</Text> to change this Edit <Text style={styles.highlight}>App.tsx</Text> to change
screen and then come back to see your edits. this screen and then come back to see your edits.
</Text> </Text>
</View> </View>
<View style={styles.sectionContainer}> <View style={styles.sectionContainer}>
Executable → Regular
View File
File mode changed.
+1 -1
View File
@@ -1 +1 @@
{} {}
Executable → Regular
View File
File mode changed.
View File
File mode changed.
View File
File mode changed.
View File
File mode changed.
Executable → Regular
View File
File mode changed.
+1 -1
View File
@@ -1,4 +1,4 @@
{ {
"name": "HelloWorld", "name": "HelloWorld",
"displayName": "HelloWorld" "displayName": "HelloWorld"
} }
@@ -35,4 +35,4 @@
"version" : 1, "version" : 1,
"author" : "xcode" "author" : "xcode"
} }
} }
@@ -59,7 +59,7 @@
return NO; return NO;
}]; }];
} }
#ifdef DEBUG #ifdef DEBUG
RCTSetLogFunction(RCTDefaultLogFunction); RCTSetLogFunction(RCTDefaultLogFunction);
#endif #endif
+3 -2
View File
@@ -16,9 +16,9 @@
"devDependencies": { "devDependencies": {
"@babel/core": "^7.6.2", "@babel/core": "^7.6.2",
"@babel/runtime": "^7.6.2", "@babel/runtime": "^7.6.2",
"@react-native-community/eslint-config": "^0.0.5", "@react-native-community/eslint-config": "^0.0.7",
"@types/jest": "^24.0.24", "@types/jest": "^24.0.24",
"@types/react-native": "^0.60.25", "@types/react-native": "^0.61.15",
"@types/react-test-renderer": "16.9.1", "@types/react-test-renderer": "16.9.1",
"@typescript-eslint/eslint-plugin": "^2.12.0", "@typescript-eslint/eslint-plugin": "^2.12.0",
"@typescript-eslint/parser": "^2.12.0", "@typescript-eslint/parser": "^2.12.0",
@@ -27,6 +27,7 @@
"jest": "^24.9.0", "jest": "^24.9.0",
"metro-react-native-babel-preset": "^0.56.0", "metro-react-native-babel-preset": "^0.56.0",
"react-test-renderer": "16.9.0", "react-test-renderer": "16.9.0",
"prettier": "^1.19.1",
"typescript": "^3.7.3" "typescript": "^3.7.3"
}, },
"jest": { "jest": {
+2 -2
View File
@@ -1,4 +1,4 @@
{ {
"compilerOptions": { "compilerOptions": {
/* Basic Options */ /* Basic Options */
@@ -15,7 +15,7 @@
// "rootDir": "./", /* Specify the root directory of input files. Use to control the output directory structure with --outDir. */ // "rootDir": "./", /* Specify the root directory of input files. Use to control the output directory structure with --outDir. */
// "removeComments": true, /* Do not emit comments to output. */ // "removeComments": true, /* Do not emit comments to output. */
"noEmit": true, /* Do not emit outputs. */ "noEmit": true, /* Do not emit outputs. */
"incremental": true, /* Enable incremental compilation */ // "incremental": true, /* Enable incremental compilation */
// "importHelpers": true, /* Import emit helpers from 'tslib'. */ // "importHelpers": true, /* Import emit helpers from 'tslib'. */
// "downlevelIteration": true, /* Provide full support for iterables in 'for-of', spread, and destructuring when targeting 'ES5' or 'ES3'. */ // "downlevelIteration": true, /* Provide full support for iterables in 'for-of', spread, and destructuring when targeting 'ES5' or 'ES3'. */
"isolatedModules": true, /* Transpile each file as a separate module (similar to 'ts.transpileModule'). */ "isolatedModules": true, /* Transpile each file as a separate module (similar to 'ts.transpileModule'). */