flaviostutz / monolint

Linter for monorepos. Checks folder structure, module contents, file contents and naming conventions
MIT License
7 stars 4 forks source link

Redesign idea: "Module markers" and auto discovery of modules #44

Closed sergioflores-j closed 1 year ago

sergioflores-j commented 1 year ago

The common approach for many (mono)repo tools for discovering modules is a glob pattern list.

See e.g. npm workspaces

The proposal is to make this project similar to them in this perspective. So the users can have the same "mental model" across a different set of tools.

sergioflores-j commented 1 year ago

What do you think @flaviostutz?

Shall we do it now (since the project is still in development) or we wait until we have collected some "real use case" data?

flaviostutz commented 1 year ago

I guess we could wait until having some real world use cases. But let's keep this in mind. This change would be easier to implement and probably wouldn't touch the rules (where could lead to a lot of work).

flaviostutz commented 1 year ago

Maybe we could add a label "evaluate-later" and close it for now?

sergioflores-j commented 1 year ago

Sounds good to me! :)

sergioflores-j commented 1 year ago

Won't fix for now!