this post was submitted on 16 Aug 2024
22 points (100.0% liked)

VS Code

800 readers
1 users here now

founded 1 year ago
MODERATORS
 

Do you know the .vscode/tasks.json file? You can add it to your project, and @vscode will run your configured commands automatically when you open the project ✨

I use this for the Inertia Table so it starts the web server and Vite without me having to open terminals for them 👌

#Laravel #PHP #JS #coding

you are viewing a single comment's thread
view the rest of the comments
[–] kogasa 1 points 3 months ago (1 children)

Pre-commit hooks aren't committed to the repo though. What's to disable? Unless it's something like python's precommit module I guess

[–] Lodra 1 points 3 months ago (1 children)

The configuration is often committed to the repo. And some repos heavily rely on the precommit actions running before you can push or have pipelines function correctly

[–] kogasa 1 points 3 months ago

You'd still need to manually install the git hooks though, the .git folder isn't part of the repo