blade-parser-typescript icon indicating copy to clipboard operation
blade-parser-typescript copied to clipboard

useLaravelPint

Open OlyaK95 opened this issue 4 months ago • 5 comments

I have three files:

  • .prettierrc
{
    "plugins": ["@prettier/plugin-php", "prettier-plugin-blade", "prettier-plugin-tailwindcss"],
    "overrides": [
        {
            "files": ["*.php"],
            "options": {
                "parser": "php"
            }
        },
        {
            "files": ["*.blade.php"],
            "options": {
                "parser": "blade"
            }
        }
    ]
}
  • .blade.format.json
{
    "useLaravelPint": true
}
  • pint.json
{
    "preset": "psr12"
}

When I run command like bunx prettier resources/ --write I have no Laravel Pint ouput. Why?

OlyaK95 avatar Sep 27 '24 10:09 OlyaK95