You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-[ ] On your new `cheatcodes.md` write down [React Native components shortcuts](https://github.com/dsznajder/vs code-es7-javascript-react-snippets#react-native-components) you prefer (_Are you a `const` or a `function` person?_)
72
+
-[ ] On your new `cheatcodes.md` write down [React Native components shortcuts](https://github.com/r5n-dev/vscode-react-javascript-snippets/blob/master/docs/Snippets.md#react-native-components) you prefer (_Are you a `const` or a `function` person?_).
73
73
74
74
**🔭 Hint:** Using `ts` before `rn**` wil automatically add typescript definitions 🚀
-[ ] add 3 [JavaScripts Snippets](https://github.com/nathanchapman/vs code-javascript-snippets) to your `cheatcodes.md`.
84
+
-[ ] add 3 [JavaScripts Snippets](https://github.com/nathanchapman/vscode-javascript-snippets) to your `cheatcodes.md`.
85
85
86
-
**🔭 Hint:** I use `map⇥` and `filter⇥` all the time.
86
+
**🔭 Hint:** I use `fn⇥`, `map⇥` and `filter⇥` all the time.
87
87
88
88
### Turbo `console.log()`
89
89
@@ -134,7 +134,7 @@ In your `settings.json`:
134
134
135
135
<imgsrc="https://raw.githubusercontent.com/flexbox/react-native-bootcamp/main/challenges/ecosystem/autoDetectColorScheme.png"alt="VS Code theme for light and dark mode" />
136
136
137
-
I use the theme [Night Owl](https://github.com/sdras/night-owl-vs code-theme)
137
+
I use the theme [Night Owl](https://github.com/sdras/night-owl-vscode-theme)
Copy file name to clipboardExpand all lines: challenges/ecosystem/02.md
+8-6Lines changed: 8 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -13,6 +13,8 @@
13
13
-[ ] ❗ Commit your work if it's not already done.
14
14
-[ ] Push your code to GitHub.
15
15
16
+
You are going to create a `.eslintrc.js` file, here is a [preview of the one used on the spacecraft codebase](https://raw.githubusercontent.com/flexbox/react-native-bootcamp/main/hackathon/spacecraft/.eslintrc.js). We will create more or less the same with small steps.
17
+
16
18
## 👨🚀 Exercise 2
17
19
18
20
### [ESLint](https://marketplace.visualstudio.com/items?itemName=dbaeumer.vscode-eslint) and [Prettier](https://marketplace.visualstudio.com/items?itemName=esbenp.prettier-vscode) extensions
@@ -42,7 +44,7 @@ Prettier is an opinionated code formatter. It enforces a consistent style by par
42
44
43
45

44
46
45
-
### Setup ESLint
47
+
### Setup ESLint
46
48
47
49
-[ ] Setup ESLint in your project with the following command:
48
50
@@ -177,7 +179,7 @@ module.exports = {
177
179
"trailingComma":"all",
178
180
"tabWidth":2,
179
181
"singleQuote":false,
180
-
"endOfLine":"CRLF"// for windows users only
182
+
"endOfLine":"crlf"// for windows users only
181
183
}
182
184
```
183
185
@@ -273,10 +275,6 @@ In our case `cargo_capacity`, `cost_in_credits` are not using `camelCase` and we
-[ ] Check the [React Native Testing Library Cookbook](https://callstack.github.io/react-native-testing-library/cookbook/index) and add a new test to your component.
221
+
-[ ] Check the [React Native Testing Library Cookbook](https://callstack.github.io/react-native-testing-library/cookbook/index) and add a new test to your component.
0 commit comments