Tag suchen

Tag:

Tag pre-commit-hook

Linting und Formatierung in React/TypeScript-Projekten 14.03.2025 20:02:24

npm frontend-entwicklung @typescript-eslint entwicklungsworkflow automatisierung react eslint-plugin-react git eslint react-scripts code-formatierung best practices eslint-plugin-react-hooks linux linting git-hooks prettier eslint-config-prettier javascript code-qualität typescript pre-commit-hook
Warum Linting und Formatierung wichtig sind Linting und Formatierung sind entscheidende Bestandteile eines sauberen und wartbaren Codes. Während Linting hilft, potenzielle Fehler im Code zu identifizieren, stellt die Formatierung sicher, dass der Code konsistent aussieht und leicht lesbar bleibt. In … ... mehr auf 1manfactory.com

Mit Pre-Commit-Hooks 3-fache Sicherheit 14.03.2025 16:47:38

code-qualität automatisierte code-prüfung sicherheit pre-commit-hook php codesniffer linux code-analyse fehlervermeidung software-qualität composer statische analyse php mess detector git phpstan entwicklung php best practices phpcs versionskontrolle phpmd psr-12 git hooks code-review clean code
Beim Arbeiten mit Git kann es schnell passieren, dass fehlerhafter oder unsauberer Code in ein Repository gelangt. Um dies zu verhindern, können Pre-Commit-Hooks eingesetzt werden, die den Code automatisch vor jedem Commit prüfen. In diesem Artikel zeige ich, wie du … ... mehr auf 1manfactory.com