Gives you PHP-CS-Fixer rules and .editorconfig for TYPO3 projects.
ddev composer req --dev typo3/coding-standards
Generating coding standards files .php_cs and .editorconfig
php vendor/typo3/coding-standards/setup.php project
php vendor/typo3/coding-standards/setup.php extension
composer require friendsofphp/php-cs-fixer --dev
ddev exec php-cs-fixer fix -vv
ddev exec php-cs-fixer fix ./packages/myextension/
composer require --dev helmich/typo3-typoscript-lint
vendor/bin/typoscript-lint path/to/your.typoscript