Skip to content

Commit 4b054e4

Browse files
committed
build: remove lint-staged, fix husky
1 parent 797400d commit 4b054e4

File tree

3 files changed

+3
-11
lines changed

3 files changed

+3
-11
lines changed

.husky/pre-commit

+1-4
Original file line numberDiff line numberDiff line change
@@ -1,4 +1 @@
1-
#!/bin/sh
2-
. "$(dirname "$0")/_/husky.sh"
3-
4-
npx lint-staged
1+
npm run prettier

package.json

+1-6
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@
2323
"husky": "^9.1.6",
2424
"jest": "^29.7.0",
2525
"lerna": "^8.1.8",
26-
"lint-staged": "^15.2.10",
2726
"prettier": "^3.3.3",
2827
"rollup": "^4.22.5",
2928
"ts-jest": "^29.2.5",
@@ -40,10 +39,6 @@
4039
"lint": "eslint . --fix --ignore-pattern **/lib/** --ignore-pattern **/bin/**",
4140
"prettier": "prettier --write --parser typescript '**/*.ts'",
4241
"test": "lerna run test",
43-
"prepare": "husky install"
44-
},
45-
"lint-staged": {
46-
"*.ts": "eslint --cache --fix",
47-
"*.{js,md}": "prettier --write"
42+
"prepare": "husky || true"
4843
}
4944
}

packages/purgecss-from-pug/src/index.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* Pug extractor for PurgeCSS
33
*
44
* A PurgeCSS extractor for PUG files that automatically generates a list of
5-
* used CSS selectors. This extractor can be used with PurgeCSS to eliminate
5+
* used CSS selectors. This extractor can be used with PurgeCSS to eliminate
66
* unused CSS and reduce the size of your production builds.
77
*
88
* @packageDocumentation

0 commit comments

Comments
 (0)