Skip to content

Commit 8e39591

Browse files
author
Jeff Calaway
committed
Initial Course Project Commit
0 parents commit 8e39591

20 files changed

+12059
-0
lines changed

.babelrc

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
{
2+
"presets": [
3+
"react",
4+
[
5+
"env",
6+
{
7+
"targets": {
8+
"browsers": ["last 2 versions"]
9+
}
10+
}
11+
]
12+
],
13+
"plugins": ["transform-class-properties"]
14+
}

.editorconfig

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# editorconfig.org
2+
root = true
3+
4+
[*]
5+
indent_style = space
6+
indent_size = 2
7+
end_of_line = lf
8+
charset = utf-8
9+
insert_final_newline = true
10+
trim_trailing_whitespace = true

.eslintrc.json

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
{
2+
"extends": [
3+
"eslint:recommended",
4+
"plugin:import/errors",
5+
"plugin:react/recommended",
6+
"plugin:jsx-a11y/recommended",
7+
"prettier",
8+
"prettier/react"
9+
],
10+
"rules": {
11+
"react/prop-types": 0,
12+
"jsx-a11y/label-has-for": 0,
13+
"no-console": 1
14+
},
15+
"plugins": ["react", "import", "jsx-a11y"],
16+
"parser": "babel-eslint",
17+
"parserOptions": {
18+
"ecmaVersion": 2018,
19+
"sourceType": "module",
20+
"ecmaFeatures": {
21+
"jsx": true
22+
}
23+
},
24+
"env": {
25+
"es6": true,
26+
"browser": true,
27+
"node": true
28+
}
29+
}

.gitignore

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
node_modules
2+
.cache/
3+
dist/
4+
.env
5+
.DS_Store
6+
coverage/
7+
.vscode/

.prettierrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{}

README.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
# Welcome to the Complete Intro to React v4 and Intermediate React v1!
2+
3+
[See the course website here][v4].
4+
5+
This course was written for and recorded by [Frontend Masters][fem] as the [Complete Intro to React v4][course] and [Intermediate React][course-intermediate] courses. The code here is licensed under the Apache 2.0 license and the [course notes][v4] are licensed under the Creative Commons Attribution-NonCommercial 4.0 International license.
6+
7+
## Debugging
8+
9+
Parcel is an ever evolving project that's just getting better. If you run into problems with it not respecting changes (particularly to your `.babelrc` or `.env` files) then delete the `dist/` and the `.cache/` directories. You can do this in bash by running from the root directoy of your project `rm -rf dist/ .cache/` or just by deleting those directories in your editor. This will force Parcel to start over and not cache anything.
10+
11+
See [this issue](https://github.com/btholt/complete-intro-to-react-v4/issues/3#issuecomment-425124265) for more specific instructions.
12+
13+
If you run into anything else, open an issue and we'll try to clarify or help.
14+
15+
[v4]: https://bit.ly/react-v4
16+
[fem]: https://frontendmasters.com/
17+
[course]: https://frontendmasters.com/courses/complete-react-v4/
18+
[course-intermediate]: https://frontendmasters.com/courses/intermediate-react/

0 commit comments

Comments
 (0)