up
This commit is contained in:
15
.twig-cs-fixer.php
Normal file
15
.twig-cs-fixer.php
Normal file
@@ -0,0 +1,15 @@
|
||||
<?php
|
||||
|
||||
$ruleset = new TwigCsFixer\Ruleset\Ruleset();
|
||||
|
||||
// You can start from a default standard
|
||||
$ruleset->addStandard(new TwigCsFixer\Standard\TwigCsFixer());
|
||||
|
||||
// And then add/remove/override some rules
|
||||
$ruleset->removeRule(TwigCsFixer\Rules\Function\IncludeFunctionRule::class);
|
||||
$ruleset->removeRule(TwigCsFixer\Rules\Punctuation\TrailingCommaMultiLineRule::class);
|
||||
|
||||
$config = new TwigCsFixer\Config\Config();
|
||||
$config->setRuleset($ruleset);
|
||||
|
||||
return $config;
|
||||
Reference in New Issue
Block a user