Skip to content

[RFC] include a new dev config file for twig-cs-fixer in the codebase #54799

Open
@94noni

Description

@94noni

Description

Hello

May I propose to add the tool twig-cs-fixer (repo) in this repo
Like adding a twig-cs-fix config file in the repo as its done for the php-cs-fixer
And from time to time, run it manually or via CI

RFC

What?

  • this tool is like the php-cs-fixer, but for twig files
  • it is based on official twig coding standard, and allows to lint, and also fix, your twig files

Why?

  • it is listed on twig official documentation
  • it is solid and working great
  • it adds value as code standard, as per all other cs fixers

How?

  • We can add it, starting from 7.2, make it run on symfony/symfony twig files present in the codebase

Thank you!


friendly ping @VincentLanglet and our discussion here

Example

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    RFCRFC = Request For Comments (proposals about features that you want to be discussed)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions