-
-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathpackage.json
More file actions
26 lines (26 loc) · 570 Bytes
/
Copy pathpackage.json
File metadata and controls
26 lines (26 loc) · 570 Bytes
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
{
"devDependencies": {
"husky": "^9.1.7",
"lint-staged": "^15.5.2",
"prettier": "^3.7.4"
},
"scripts": {
"prepare": "husky",
"format": "prettier --write \"**/*.{js,jsx,ts,tsx,json,md,py}\"",
"format:check": "prettier --check \"**/*.{js,jsx,ts,tsx,json,md,py}\""
},
"lint-staged": {
"src/frontend/**/*.{js,jsx,ts,tsx}": [
"prettier --write",
"eslint --fix"
],
"src/backend/**/*.py": [
"black --line-length=100",
"isort",
"flake8"
],
"*.{json,md}": [
"prettier --write"
]
}
}