Skip to content

Commit

Permalink
Merge pull request #1007 from SlovakNationalGallery/prettier-fix
Browse files Browse the repository at this point in the history
Make Prettier plugins work again
  • Loading branch information
eronisko authored Apr 26, 2024
2 parents 1f9067b + 4a52eb7 commit 012a5c0
Show file tree
Hide file tree
Showing 3 changed files with 111 additions and 107 deletions.
12 changes: 12 additions & 0 deletions .prettierrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,24 @@
"singleQuote": true,
"semi": false,
"sortTailwindcssClasses": true,
"plugins": [
"prettier-plugin-tailwindcss",
"@prettier/plugin-php",
"@shufo/prettier-plugin-blade"
],
"overrides": [
{
"files": "*.yml",
"options": {
"tabWidth": 2
}
},
{
"files": ["*.blade.php"],
"options": {
"parser": "blade",
"tabWidth": 4
}
}
]
}
199 changes: 95 additions & 104 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 4 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
"build": "vite build"
},
"devDependencies": {
"@prettier/plugin-php": "^0.18.2",
"@shufo/prettier-plugin-blade": "^1.2.4",
"@prettier/plugin-php": "^0.22.2",
"@shufo/prettier-plugin-blade": "^1.14.1",
"@tailwindcss/forms": "^0.5.3",
"@tailwindcss/typography": "^0.5.2",
"@vitejs/plugin-vue": "^5.0.4",
Expand All @@ -16,7 +16,8 @@
"jquery": "^3.5.0",
"laravel-vite-plugin": "^1.0.2",
"postcss": "^8.4.31",
"prettier": "^2.5.1",
"prettier": "^3.2.5",
"prettier-plugin-tailwindcss": "^0.5.14",
"tailwind-scrollbar": "^2.1.0-preview.0",
"tailwindcss": "^3.0.15",
"vite": "^5.2.6",
Expand Down

0 comments on commit 012a5c0

Please sign in to comment.