-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathpackage.json
69 lines (69 loc) · 1.37 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
{
"scripts": {
"lint": "eslint . && prettier --check .",
"lint-staged": "lint-staged",
"prepare": "husky || true"
},
"lint-staged": {
"*.ts": "eslint --max-warnings=0",
"*": "prettier --write --ignore-unknown"
},
"prettier": {
"overrides": [
{
"files": [
"**/package.json"
],
"options": {
"plugins": [
"prettier-plugin-packagejson"
]
}
},
{
"files": [
"**/*.md"
],
"options": {
"proseWrap": "always"
}
}
]
},
"eslintConfig": {
"parser": "@typescript-eslint/parser",
"plugins": [
"@typescript-eslint"
],
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/recommended",
"prettier"
],
"rules": {
"@typescript-eslint/no-unused-vars": [
"warn",
{
"argsIgnorePattern": "^_+$"
}
]
},
"ignorePatterns": [
"node_modules"
],
"root": true
},
"devDependencies": {
"@typescript-eslint/eslint-plugin": "^5.62.0",
"@typescript-eslint/parser": "^5.62.0",
"eslint": "^8.57.1",
"eslint-config-prettier": "^9.1.0",
"husky": "^9.1.7",
"lint-staged": "^15.4.3",
"prettier": "^3.4.2",
"prettier-plugin-packagejson": "^2.5.8"
},
"engines": {
"node": ">=20"
}
}