Use prettier for blade templates

This commit is contained in:
DariusIII
2026-03-02 15:43:10 +01:00
parent c824c82931
commit 7ec8959b14
2 changed files with 16 additions and 4 deletions
+13 -3
View File
@@ -1,6 +1,16 @@
{
"printWidth": 100,
"singleQuote": true,
"tabWidth": 4,
"trailingComma": "es5"
"trailingComma": "all",
"plugins": [
"./node_modules/prettier-plugin-blade",
"./node_modules/prettier-plugin-tailwindcss"
],
"overrides": [
{
"files": "*.blade.php",
"options": {
"parser": "blade"
}
}
]
}
+3 -1
View File
@@ -13,7 +13,9 @@
"axios": "^1.13.5",
"lodash": "^4.17.23",
"npm-check-updates": "^19.6.2",
"prettier": "^3.8.1",
"prettier": "3.8.1",
"prettier-plugin-blade": "2.1.21",
"prettier-plugin-tailwindcss": "^0.7.2",
"tailwindcss": "^4.2.1",
"vite": "^7.3",
"vue": "^3.5.29"