humanmade / humanmade/hm-base

Consider making `content` the config root

Open
#85 3 comments 5 reactions 0 assignees View on GitHub
question
Dominant language
PHP
Stars
80
Forks
18
PR merge metrics
No merged PRs in 30d

Description

The setup of HM Base currently considers the root directory as the custom code root directory. As a consequence, PHPCS, PHP unit tests, the Composer file etc. are place inside of the root directory.

I do think however the it would be best the place most if not all of these things inside of `content`.

Because once you add NPM on top, you end up in weird scenarios where you sniff and lint from `content`, but run the PHP unit tests from a config file in root. If you have custom unit testing code, it's probably in `content`, and it all is rather confusing.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.