Skip to content

Commit 8eb122b

Browse files
authored
chore: update dependencies (#111)
1 parent a695693 commit 8eb122b

File tree

4 files changed

+369
-464
lines changed

4 files changed

+369
-464
lines changed

.husky/pre-commit

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
#!/bin/sh
2+
. "$(dirname "$0")/_/husky.sh"
3+
4+
npx lint-staged

lessons/lesson34/lecture.md

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -317,14 +317,12 @@ const reducer = combineReducers({
317317
Условно тип можно было бы описать как
318318

319319
```ts
320-
type CombineReducer<ReducersConfig = any, Action = { type: any }> = (
321-
config: {
322-
[key in keyof ReducersConfig]: (
323-
state: ReducersConfig[key] | undefined,
324-
action: Action
325-
) => ReducersConfig[key];
326-
}
327-
) => (
320+
type CombineReducer<ReducersConfig = any, Action = { type: any }> = (config: {
321+
[key in keyof ReducersConfig]: (
322+
state: ReducersConfig[key] | undefined,
323+
action: Action
324+
) => ReducersConfig[key];
325+
}) => (
328326
state:
329327
| {
330328
[key in keyof ReducersConfig]: ReducersConfig[key];

package.json

Lines changed: 7 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -16,18 +16,13 @@
1616
"license": "ISC",
1717
"devDependencies": {
1818
"babel-eslint": "^10.1.0",
19-
"eslint": "^7.32.0",
20-
"eslint-plugin-markdown": "^2.2.0",
21-
"husky": "^4.3.8",
22-
"lint-staged": "^10.5.3",
23-
"prettier": "^2.2.1",
24-
"reveal-md": "^4.3.0",
25-
"yaspeller": "^7.0.0"
26-
},
27-
"husky": {
28-
"hooks": {
29-
"pre-commit": "lint-staged"
30-
}
19+
"eslint": "^8.0.0",
20+
"eslint-plugin-markdown": "^2.2.1",
21+
"husky": "^7.0.2",
22+
"lint-staged": "^11.2.2",
23+
"prettier": "^2.4.1",
24+
"reveal-md": "^5.1.3",
25+
"yaspeller": "^7.1.0"
3126
},
3227
"lint-staged": {
3328
"*.{js,json,html,css,md,yml,yaml,ts,tsx}": "prettier --write",

0 commit comments

Comments
 (0)