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 @@ -29,14 +29,6 @@
"type-check": "tsc --noEmit",
"type-check:watch": "npm run type-check -- --watch"
},
"lint-staged": {
"*.{html,md,yml}": [
"prettier --write"
],
"*.{js,ts,json}": [
"eslint --fix"
]
},
"prettier": "@shelf/prettier-config",
Comment on lines 29 to 32

Choose a reason for hiding this comment

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

P1 Badge Keep lint-staged usable or remove pre-commit invocation

The change deletes the lint-staged configuration from package.json, but the Husky pre-commit hook still runs yarn lint-staged. When lint-staged has no config it exits with a non‑zero “Configuration is required” error, so every commit will be blocked. Either keep a lint-staged config or drop the hook/dependency to avoid breaking local commits.

Useful? React with 👍 / 👎.

"devDependencies": {
"@shelf/eslint-config": "5.2.3",
Expand All @@ -61,5 +53,13 @@
},
"publishConfig": {
"access": "public"
},
"lint-staged": {
"*.{html,md,yml}": [
"prettier --write"
],
"*.{js,ts,json}": [
"eslint --fix"
]
}
}