Skip to content

Conversation

@mjossdev
Copy link
Member

  • feat(semantic): add warning when providers and consumers are not in their own files
  • feat(semantic): only warn if there are more than ten statements in a file

Not sure about the threshold criteria, currently it's just the number of top level statements, but perhaps the complexity of the declared services should also play a role. This implementation will also warn if there are multiple providers or multiple consumers in one file.

@mjossdev mjossdev self-assigned this May 29, 2023
@mjossdev mjossdev enabled auto-merge May 30, 2023 11:53
@mjossdev mjossdev merged commit 38df5bf into main May 30, 2023
@mjossdev mjossdev deleted the file-separation branch May 30, 2023 12:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants