v0.2.0 92ac699

hexcheck.yaml RawHistoryFolder

1version: 1
2components:
3  core:
4    role: core
5    paths:
6      - internal/domain/**
7      - internal/core/**
8  usecases:
9    role: usecase
10    paths:
11      - internal/application/usecase/**
12      - internal/application/usecases/**
13      - internal/usecase/**
14      - internal/usecases/**
15      - usecase/**
16      - usecases/**
17  ports:
18    role: ports
19    paths:
20      - internal/application/port/**
21      - internal/domain/repository/**
22  adapters:
23    role: adapter
24    paths:
25      - internal/infrastructure/**
26      - internal/adapters/**
27      - internal/ui/**
28      - internal/cli/**
29  entrypoints:
30    role: entrypoint
31    paths:
32      - cmd/**
33  generated:
34    role: ignore
35    paths:
36      - '**/mocks/**'
37      - '**/generated/**'
38      - '**/*_templ.go'
39      - '**/*_gen.go'
40
41rules:
42  no-adapter-imports-in-core: error
43  no-infra-imports-in-usecase: error
44  no-framework-types-in-core: error
45  no-infra-types-in-ports: error
46  no-adapter-to-adapter-imports: warn
47  suspicious-business-logic-in-adapter: warn
48  no-local-fakes-for-ports: warn
49  missing-generated-mock-for-port: warn
50  prefer-generated-mocks: warn
51
52ruleSettings:
53  suspicious-business-logic-in-adapter:
54    excludePaths:
55      - internal/ui/**
56      - internal/cli/cmd/**
57      - internal/cli/model/**
58      - cmd/**
59
60externalTypes:
61  frameworkPackages: []
62  adapterTypePackages:
63    - internal/infrastructure/**
64    - internal/adapters/**
65
66heuristics:
67  businessLogicThreshold: 8
68  businessLogicMinStrongSignals: 2
69  businessLogicMinWeakSignals: 2
70  businessLogicMaxFunctionNodes: 2000
71  businessLogicMaxDiagnosticsPerPackage: 10
72  businessLogicMode: audit
73  businessLogicMinConfidence: medium
74  excludeTestFiles: true
75  businessKeywords:
76    - Validate
77    - Authorize
78    - Compute
79    - Calculate
80    - Apply
81    - Transition
82    - Can
83    - Detect
84    - Migrate
85    - Resolve
86    - Profile
87    - Score
88    - Ranking
89    - Restore
90    - Purge
91    - Update
92    - Performance
93    - Selected
94
95mocking:
96  generatedMockPaths:
97    - internal/mocks/**
98    - internal/application/mocks/**
99    - internal/application/port/mocks/**
100    - internal/domain/repository/mocks/**
101  generatedMockNamePatterns:
102    - Mock{{Interface}}
103    - '{{Interface}}Mock'

Keyboard shortcuts

Single-key shortcuts are on. ctrl k and esc work whatever this says.

ctrl k :
go to a section, branch, tag, file or repository
?
this list
j k
move the row cursor down / up
enter
open the row under the cursor; on Files, a directory opens or closes in place
↑ ↓ ← → home end
in the file tree (focus on a row): previous / next row, close / open a directory or go to its parent / first entry, first / last row. They never open a file
l h
on Files: open a directory or a file / close a directory or go up to its parent, then to the parent page. Elsewhere: into the side panel (on a merge request, its files) / back to the content; there j k move between its controls
g g G
first / last row
/
filter the list; on Files, find a file anywhere in the repository (esc clears, enter opens the best match)
b
switch branch or tag
g s g f g c g b g m g i g r g a
tabs: summary, files, commits, branches & tags, merge requests, issues, releases, actions (when available)
g h
home
w
wide mode: use the whole width of the screen, or not (remembered)
y
copy a permalink pinned to the commit
d u x
diff: split / unified / collapse or expand all
e E
diff: the whole file in view / every file, with the lines the hunks hide
n
merge request: next note in the diff
esc
close a dialog, leave a field

Branches 1

Tags 5

↑↓ moveenter openesc close