diff --git a/README.md b/README.md index 24334c5..14f028e 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,30 @@ # My very opiniated Configurations for Rector and ECS +## Installation + +```bash +composer require --dev lubiana/code-quality +``` + +Add my Setlist to ECS in `ecs.php`: + +```php +return static function (\Symplify\EasyCodingStandard\Config\ECSConfig $config): void { + $config->sets([ + \Lubiana\CodeQuality\LubiSetList::ECS, + ]); +}; +``` + +And for rector.php: + +```php +return static function (\Rector\Config\RectorConfig $config): void { + $config->sets([ + \Lubiana\CodeQuality\LubiSetList::RECTOR, + ]); +}; +``` + +