Skip to content

Commit 1058209

Browse files
committed
Adding husky pre-commit
1 parent e3eb237 commit 1058209

File tree

5 files changed

+259
-3
lines changed

5 files changed

+259
-3
lines changed

.husky/pre-commit

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
./vendor/bin/pint
2+
./vendor/bin/phpstan analyse ./app

composer.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
},
1818
"require-dev": {
1919
"fakerphp/faker": "^1.23",
20+
"larastan/larastan": "^3.0",
2021
"laravel/pail": "^1.1",
2122
"laravel/pint": "^1.13",
2223
"laravel/sail": "^1.26",

composer.lock

Lines changed: 239 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package-lock.json

Lines changed: 16 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
"@types/node": "^22.10.2",
1313
"@vitejs/plugin-vue": "^5.2.1",
1414
"autoprefixer": "^10.4.20",
15-
"axios": "^1.7.4",
1615
"concurrently": "^9.0.1",
1716
"laravel-vite-plugin": "^1.0",
1817
"postcss": "^8.4.49",
@@ -26,6 +25,7 @@
2625
"@vueuse/core": "^12.0.0",
2726
"class-variance-authority": "^0.7.1",
2827
"clsx": "^2.1.1",
28+
"husky": "^9.1.7",
2929
"lucide": "^0.468.0",
3030
"lucide-vue-next": "^0.468.0",
3131
"radix-vue": "^1.9.11",

0 commit comments

Comments
 (0)