Skip to content

Commit

Permalink
build: remove lint-staged, fix husky
Browse files Browse the repository at this point in the history
  • Loading branch information
Ffloriel committed Oct 2, 2024
1 parent 797400d commit 4b054e4
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 11 deletions.
5 changes: 1 addition & 4 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -1,4 +1 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

npx lint-staged
npm run prettier
7 changes: 1 addition & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@
"husky": "^9.1.6",
"jest": "^29.7.0",
"lerna": "^8.1.8",
"lint-staged": "^15.2.10",
"prettier": "^3.3.3",
"rollup": "^4.22.5",
"ts-jest": "^29.2.5",
Expand All @@ -40,10 +39,6 @@
"lint": "eslint . --fix --ignore-pattern **/lib/** --ignore-pattern **/bin/**",
"prettier": "prettier --write --parser typescript '**/*.ts'",
"test": "lerna run test",
"prepare": "husky install"
},
"lint-staged": {
"*.ts": "eslint --cache --fix",
"*.{js,md}": "prettier --write"
"prepare": "husky || true"
}
}
2 changes: 1 addition & 1 deletion packages/purgecss-from-pug/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* Pug extractor for PurgeCSS
*
* A PurgeCSS extractor for PUG files that automatically generates a list of
* used CSS selectors. This extractor can be used with PurgeCSS to eliminate
* used CSS selectors. This extractor can be used with PurgeCSS to eliminate
* unused CSS and reduce the size of your production builds.
*
* @packageDocumentation
Expand Down

0 comments on commit 4b054e4

Please sign in to comment.