Skip to content

Commit eb95286

Browse files
JulietteHoisnardJuliette Hoisnard
andauthored
rm unnecessary shell script for pre-commit (#8)
Co-authored-by: Juliette Hoisnard <[email protected]>
1 parent fb790ef commit eb95286

File tree

2 files changed

+2
-14
lines changed

2 files changed

+2
-14
lines changed

.pre-commit-config.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,6 @@ repos:
1515
hooks:
1616
- id: lint-staged-webapp
1717
name: Run lint-staged on webapp staged files
18-
entry: bash run-lint-staged-if-webapp.sh
18+
files: ^webapp/
19+
entry: sh -c "cd webapp && npx lint-staged --no-stash"
1920
language: system
20-
pass_filenames: false # This hook handles filenames internally

run-lint-staged-if-webapp.sh

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

0 commit comments

Comments
 (0)