Closed csoutham closed 6 months ago
Thanks for the report! You're configuration is fine. The root cause was a parser error seeing the //
in the URL and assuming it was the start of a PHP comment and getting itself confused.
This has ben corrected in 2.1.13 👍
Linting seems to be tripping up over any translatable output that has HTML in it, for instance:
{!! __('I agree with the <a href="https://domain.com/privacy-policy">privacy policy</a>.') !!}
It seems to be specifically the unescaped tag {!! !!} as switching the above to {{ }} passes without failure. Additionally switching quotes for single quotes also fails.
{!! __("I agree with the <a href='https://domain.com/privacy-policy'>privacy policy</a>.") !!}
Would appreciate some feedback if this is just a configuration issue?
.prettierrc
.blade.format.json