https://github.com/michaelbe812/sheriff-repro
https://github.com/michaelbe812/sheriff-repro
Last synced: 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/michaelbe812/sheriff-repro
- Owner: michaelbe812
- Created: 2025-03-14T17:36:01.000Z (2 months ago)
- Default Branch: main
- Last Pushed: 2025-03-14T17:41:45.000Z (2 months ago)
- Last Synced: 2025-03-14T18:41:31.696Z (2 months ago)
- Language: TypeScript
- Size: 196 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# SheriffExample
running `sheriff verify apps/sheriff-example/src/main.ts`
results in
```
Verification ReportNo issues found. Well done!
```running `sheriff verify apps/sheriff-example/src/app/non-compliant/ui/ui-violation.component.ts
`results in
```
Issues found:
Total Invalid Files: 3
Total Encapsulation Violations: 1
Total Dependency Rule Violations: 3
----------------------------------|-- apps/sheriff-example/src/app/non-compliant/ui/ui-violation.component.ts
| |-- Dependency Rule Violations
| | |-- from tag type:ui to tags type:data-access
| | |-- from tag type:ui to tags type:feat
|-- apps/sheriff-example/src/app/non-compliant/types/violation.types.ts
| |-- Dependency Rule Violations
| | |-- from tag type:types to tags type:util
|-- apps/sheriff-example/src/app/non-compliant/feat/feat-violation.component.ts
| |-- Encapsulation Violations
| | |-- ../util/internal/internal-util
```