govCMS / scaffold-tooling

6 stars 17 forks source link

Allow to provide custom phpcs.xml file #202

Open AlexSkrypnyk opened 2 years ago

AlexSkrypnyk commented 2 years ago

When using SaaS, sometimes we need to use a base theme (placed into themes/THEMENAME) which does not follow Drupal coding standards OR there may be custom sources that should not be scanned by PHPCS at all.

Currently, there is no way to configure PHPCS and developers cannot properly use CI to check for coding standards since they fail for the base theme.

Is it possible to allow to provide a custom phpcs.xml file in the repo (through an env variable)?

naveenvalecha commented 2 years ago

@steveworley Can you provide advice on it?