Skip to content

Commit c153d6f

Browse files
authored
get rid of Husky pre-commit hooks (#3480)
1 parent c5d6896 commit c153d6f

File tree

3 files changed

+4
-269
lines changed

3 files changed

+4
-269
lines changed

kafka-ui-react-app/.husky/pre-commit

Lines changed: 0 additions & 10 deletions
This file was deleted.

kafka-ui-react-app/package.json

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -46,12 +46,6 @@
4646
"yup": "^1.0.0",
4747
"zustand": "^4.1.1"
4848
},
49-
"lint-staged": {
50-
"*.{ts,tsx}": [
51-
"eslint --fix",
52-
"pnpm test -- --bail --findRelatedTests --watchAll=false --passWithNoTests"
53-
]
54-
},
5549
"scripts": {
5650
"start": "vite",
5751
"dev": "vite",
@@ -65,8 +59,6 @@
6559
"test:coverage": "jest --watchAll --coverage",
6660
"test:CI": "CI=true pnpm test:coverage --ci --testResultsProcessor=\"jest-sonar-reporter\" --watchAll=false",
6761
"tsc": "tsc --pretty --noEmit",
68-
"prepare": "cd .. && husky install kafka-ui-react-app/.husky",
69-
"pre-commit": "pnpm tsc && lint-staged",
7062
"deadcode": "ts-prune -i src/generated-sources"
7163
},
7264
"devDependencies": {
@@ -101,11 +93,9 @@
10193
"eslint-plugin-prettier": "^4.0.0",
10294
"eslint-plugin-react": "^7.30.1",
10395
"eslint-plugin-react-hooks": "^4.5.0",
104-
"husky": "^8.0.1",
10596
"jest-environment-jsdom": "^29.4.3",
10697
"jest-sonar-reporter": "^2.0.0",
10798
"jest-styled-components": "^7.1.1",
108-
"lint-staged": "^13.0.2",
10999
"prettier": "^2.8.4",
110100
"rimraf": "^4.1.2",
111101
"ts-node": "^10.9.1",

0 commit comments

Comments
 (0)