Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 8 additions & 8 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,14 +38,6 @@
"type-check": "tsc --noEmit",
"type-check:watch": "pnpm run type-check -- --watch"
},
"lint-staged": {
"*.{html,json,md,yml}": [
"prettier --write"
],
"*.{js,ts}": [
"eslint --fix"
]
},
"prettier": "@shelf/prettier-config",
Comment on lines 38 to 41

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Running lint-staged pre-commit now errors

This change removes the lint-staged configuration from package.json, but the repository still executes pnpm lint-staged from the Husky pre-commit hook. With no configuration file present, lint-staged exits with Config could not be found and the hook fails, blocking all commits. Either keep a configuration or stop invoking lint-staged so that the pre-commit workflow remains usable.

Useful? React with 👍 / 👎.

"dependencies": {
"@shelf/is-audio-filepath": "3.0.1",
Expand Down Expand Up @@ -73,5 +65,13 @@
},
"publishConfig": {
"access": "public"
},
"lint-staged": {
"*.{html,json,md,yml}": [
"prettier --write"
],
"*.{js,ts}": [
"eslint --fix"
]
}
}