webhintio / hint

💡 A hinting engine for the web

Home Page:https://webhint.io/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Is Blade.php supported ?

robinNavas opened this issue · comments

Discussed in #5511

Originally posted by robinNavas April 12, 2023
Hi,

I am currently working on websites with Sage (https://roots.io/sage/) wich use internally Laravel and its templating system Blade (php). I wanted to try the vscode extension to hint my files but it doesn't work on these file (It does on html files btw).

I wonder if it is possible to hint these files, maybe their dynamic nature avoid to use the tool ?

Thanks (and sorry if I am not in the correct place to ask this question)

Hi @robinNavas

Webhint does support php files, indeed it has support for any file but we currently do not have any hints associated to it. That being said building hints for webhint is relatively easy and we provide a guide on how to do it:
https://webhint.io/docs/contributor-guide/guides/create-custom-hint/

the create-hint section is specially helpful as it provides a package that creates the basic skeleton for a new hint. Thanks for the interest and please feel free to ask questions (if any) 😊