Skip to content

Commit

Permalink
Update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
VincentLanglet committed Nov 30, 2024
1 parent 10f5913 commit b14db79
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,22 @@ Removes any space before and after parenthesis in filter and function calls.
Removes any space before and after opening and closing of arrays and hashes.
### Macro & Functions/Filter/Test spacing
Ensures there is a single space before and after `=` in macro argument declarations.
Ensures there is no space before and after `=` sign when using named arguments.
Ensures one space after the `:` sign when using named arguments.
### Naming
Use snake case for all variable names.
Use snake case for all argument names.
Use snake case for all named arguments.
## Custom configuration
By default, the twig-cs-fixer standard is enabled with the twig coding standard rules and some extra rules.
Expand Down

0 comments on commit b14db79

Please sign in to comment.