Skip to content

Commit 2a78392

Browse files
committed
Add project 21 to 23
1 parent 3f215a6 commit 2a78392

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

45 files changed

+18450
-1
lines changed

18/learn-middleware/src/containers/SampleContainer.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ const SampleContainer = ({
2525
}
2626
};
2727
fn();
28-
}, []);
28+
}, [getPost, getUsers]);
2929
return (
3030
<Sample
3131
post={post}

21/blog/blog-backend/.eslintrc.json

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
{
2+
"env": {
3+
"commonjs": true,
4+
"es6": true,
5+
"node": true
6+
},
7+
"extends": ["eslint:recommended", "prettier"],
8+
"globals": {
9+
"Atomics": "readonly",
10+
"SharedArrayBuffer": "readonly"
11+
},
12+
"parserOptions": {
13+
"ecmaVersion": 2018
14+
},
15+
"rules": {
16+
"no-unused-vars": "warn",
17+
"no-console": "off"
18+
}
19+
}

21/blog/blog-backend/.prettierrc

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"singleQuote": true,
3+
"semi": true,
4+
"useTabs": false,
5+
"tabWidth": 2,
6+
"trailingComma": "all",
7+
"printWidth": 80
8+
}

0 commit comments

Comments
 (0)