Open
Description
A typical file structure for a Magento 2 module shoul look like the following:
For this reason, we a should add a warning if in main an unexpected dir.
Expected dirs:
- Api
- Block
- Controller
- Console
- Cron
- etc
- Model
- Setup
- i18n
- Observer
- Plugin
- Test
- view
Dokumentation:
https://devdocs.magento.com/guides/v2.2/extension-dev-guide/build/module-file-structure.html