Skip to content

Commit 5fb1388

Browse files
committed
publish 3rd impression with part ii & iii
1 parent 790df11 commit 5fb1388

Some content is hidden

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

87 files changed

+15349
-6761
lines changed

06-lint/01-eslint/package.json

+14-14
Original file line numberDiff line numberDiff line change
@@ -3,18 +3,18 @@
33
"version": "0.1.0",
44
"private": true,
55
"dependencies": {
6-
"@testing-library/jest-dom": "^5.11.10",
7-
"@testing-library/react": "^11.2.5",
8-
"@testing-library/user-event": "^13.0.16",
9-
"@types/jest": "^26.0.22",
10-
"@types/node": "^14.14.37",
11-
"@types/react": "^17.0.3",
12-
"@types/react-dom": "^17.0.3",
6+
"@testing-library/jest-dom": "^5.14.1",
7+
"@testing-library/react": "^12.0.0",
8+
"@testing-library/user-event": "^13.2.1",
9+
"@types/jest": "^27.0.1",
10+
"@types/node": "^16.7.10",
11+
"@types/react": "^17.0.19",
12+
"@types/react-dom": "^17.0.9",
1313
"react": "^17.0.2",
1414
"react-dom": "^17.0.2",
1515
"react-scripts": "4.0.3",
16-
"typescript": "^4.2.3",
17-
"web-vitals": "^1.1.1"
16+
"typescript": "^4.4.2",
17+
"web-vitals": "^2.1.0"
1818
},
1919
"scripts": {
2020
"start": "react-scripts start",
@@ -44,14 +44,14 @@
4444
]
4545
},
4646
"devDependencies": {
47-
"@types/testing-library__jest-dom": "^5.9.5",
47+
"@types/testing-library__jest-dom": "^5.14.1",
4848
"@types/testing-library__user-event": "^4.2.0",
49-
"@typescript-eslint/eslint-plugin": "^4.20.0",
50-
"@typescript-eslint/parser": "^4.20.0",
49+
"@typescript-eslint/eslint-plugin": "^4.30.0",
50+
"@typescript-eslint/parser": "^4.30.0",
5151
"eslint-config-airbnb": "18.2.1",
52-
"eslint-plugin-import": "^2.22.1",
52+
"eslint-plugin-import": "^2.24.2",
5353
"eslint-plugin-jsx-a11y": "^6.4.1",
54-
"eslint-plugin-react": "^7.23.1",
54+
"eslint-plugin-react": "^7.25.1",
5555
"eslint-plugin-react-hooks": "4.2.0",
5656
"typesync": "^0.8.0"
5757
}

06-lint/01-eslint/src/App.tsx

+2-4
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,14 @@
1-
import { VFC } from 'react';
1+
import { FC } from 'react';
22
import logo from './logo.svg';
33
import './App.css';
44

5-
const App: VFC = () => (
5+
const App: FC = () => (
66
<div className="App">
77
<header className="App-header">
88
<img src={logo} className="App-logo" alt="logo" />
99
<p>
1010
Edit
11-
{' '}
1211
<code>src/App.tsx</code>
13-
{' '}
1412
and save to reload.
1513
</p>
1614
<a

06-lint/01-eslint/yarn.lock

+396-133
Large diffs are not rendered by default.

06-lint/02-prettier/.prettierrc

+5-2
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,5 @@
1-
singleQuote: true
2-
trailingComma: "all"
1+
{
2+
"singleQuote": true,
3+
"trailingComma": "all",
4+
"endOfLine": "auto"
5+
}

06-lint/02-prettier/package.json

+17-17
Original file line numberDiff line numberDiff line change
@@ -3,18 +3,18 @@
33
"version": "0.1.0",
44
"private": true,
55
"dependencies": {
6-
"@testing-library/jest-dom": "^5.11.10",
7-
"@testing-library/react": "^11.2.5",
8-
"@testing-library/user-event": "^13.0.16",
9-
"@types/jest": "^26.0.22",
10-
"@types/node": "^14.14.37",
11-
"@types/react": "^17.0.3",
12-
"@types/react-dom": "^17.0.3",
6+
"@testing-library/jest-dom": "^5.14.1",
7+
"@testing-library/react": "^12.0.0",
8+
"@testing-library/user-event": "^13.2.1",
9+
"@types/jest": "^27.0.1",
10+
"@types/node": "^16.7.10",
11+
"@types/react": "^17.0.19",
12+
"@types/react-dom": "^17.0.9",
1313
"react": "^17.0.2",
1414
"react-dom": "^17.0.2",
1515
"react-scripts": "4.0.3",
16-
"typescript": "^4.2.3",
17-
"web-vitals": "^1.1.1"
16+
"typescript": "^4.4.2",
17+
"web-vitals": "^2.1.0"
1818
},
1919
"scripts": {
2020
"start": "react-scripts start",
@@ -47,18 +47,18 @@
4747
]
4848
},
4949
"devDependencies": {
50-
"@types/prettier": "^2.2.3",
51-
"@types/testing-library__jest-dom": "^5.9.5",
50+
"@types/prettier": "^2.3.2",
51+
"@types/testing-library__jest-dom": "^5.14.1",
5252
"@types/testing-library__user-event": "^4.2.0",
53-
"@typescript-eslint/eslint-plugin": "^4.20.0",
54-
"@typescript-eslint/parser": "^4.20.0",
53+
"@typescript-eslint/eslint-plugin": "^4.30.0",
54+
"@typescript-eslint/parser": "^4.30.0",
5555
"eslint-config-airbnb": "18.2.1",
56-
"eslint-config-prettier": "^8.1.0",
57-
"eslint-plugin-import": "^2.22.1",
56+
"eslint-config-prettier": "^8.3.0",
57+
"eslint-plugin-import": "^2.24.2",
5858
"eslint-plugin-jsx-a11y": "^6.4.1",
59-
"eslint-plugin-react": "^7.23.1",
59+
"eslint-plugin-react": "^7.25.1",
6060
"eslint-plugin-react-hooks": "4.2.0",
61-
"prettier": "^2.2.1",
61+
"prettier": "^2.3.2",
6262
"typesync": "^0.8.0"
6363
}
6464
}

0 commit comments

Comments
 (0)