Skip to content

Conversation

@yevhen-kryvoshei
Copy link
Contributor

This is a quick implementation of 2 rules that will check import to package resrictions for clean architecture rules of access?

  • data module into domain module;
  • ui module into data module;

Related issue: "ktlint rules for proper structure model imports"

@yevhen-kryvoshei yevhen-kryvoshei self-assigned this Aug 29, 2025
@yevhen-kryvoshei yevhen-kryvoshei added the enhancement New feature or request label Aug 29, 2025
@azazellj
Copy link
Member

azazellj commented Aug 30, 2025

@yevhen-kryvoshei, I know that it's not yet listed in docs, but keep such naming, please:

for pr names:

#[ticket id]: ticket name

in your case it should be something like
#7: ktlint rules for proper structure model imports

Almost the same for commits:
#[ticket id]: ticket name
- changes purpose #1
- changes purpose #2

#7: ktlint rules for proper structure model imports
- fixed ktlint issues
- added unit tests

@yevhen-kryvoshei yevhen-kryvoshei changed the title KTlint rules for data->domain and ui-data imports #7: ktlint rules for proper structure model imports Sep 1, 2025
@azazellj azazellj merged commit 26b999d into main Sep 2, 2025
1 check passed
@azazellj azazellj deleted the feature/ktlint_import_rules_for_logic_layers branch September 2, 2025 09:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants