factorial-io/twigcs-extension

Factorial specific ruleset extending official ruleset from twigcs

1.2.0 2022-11-15 16:12 UTC

README

example workflow

Custom twigcs ruleset extending Official twigcs ruleset.

Installation

Run composer require to add the package to your project.

composer require factorial-io/twigcs-extension

Usage

./vendor/bin/twigcs /path/to/views/ --ruleset Factorial\\twigcs\\TwigCsRuleset

Where, /path/to/views is the folder to scan for the twig files.