gilbarbara / codeclimate-stylelint

A Code Climate engine for the mighty, modern CSS linter
24 stars 18 forks source link

Add a linter plugin for Twig #46

Closed MPParsley closed 3 years ago

MPParsley commented 3 years ago

Twigcs aims to be for twig what phpcs is to php. It checks your codebase for violations on coding standards in Twig files.

Note: this may not be the proper repository to report this as it may require a new code climate engine. Please move or close this issue as needed.

gilbarbara commented 3 years ago

This is definitely not the place for this issue as this engine is for the stylelint and not related to PHP at all.

MPParsley commented 3 years ago

Hi @gilbarbara, this issue is about Twig, not PHP, but indeed twig is not a "style" language.

FYI, I came here because of this comment:

However, there's a workaround. Many engines come packaged with relevant plugins already installed. You can go ahead and open an issue or PR on the stylelint project to add the dependency you'd like to use.