This repository was archived by the owner on Jul 7, 2026. It is now read-only.
forked from pdugan20/claudelint
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.codecov.yml
More file actions
115 lines (95 loc) · 2.13 KB
/
Copy path.codecov.yml
File metadata and controls
115 lines (95 loc) · 2.13 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
# Codecov Configuration
# https://docs.codecov.com/docs/codecov-yaml
coverage:
precision: 2
round: down
range: "80...100"
status:
project:
default:
target: 80%
threshold: 2%
if_ci_failed: error
patch:
default:
target: 80%
threshold: 5%
# Files and directories to ignore in coverage reports
ignore:
# Test fixtures and test data
- "tests/fixtures/**"
- "tests/__temp__/**"
- "tests/**/*.fixture.ts"
# Entry points and barrel re-exports
- "src/index.ts"
- "src/api/index.ts"
- "src/schemas/index.ts"
- "src/utils/index.ts"
- "src/utils/validators/index.ts"
- "src/validators/index.ts"
# Generated code
- "src/rules/rule-ids.ts"
- "src/rules/index.ts"
# CLI (tested via integration tests, not unit coverage)
- "src/cli.ts"
- "src/cli/commands/**"
- "src/cli/init-wizard.ts"
- "src/cli/config-debug.ts"
- "src/cli/utils/logger.ts"
- "src/cli/utils/config-loader.ts"
- "src/cli/utils/system-tools.ts"
- "src/cli/utils/formatters/**"
# Scripts and tooling
- "scripts/**"
- "bin/**"
# Examples and documentation
- "docs/**"
# Type definitions
- "**/*.d.ts"
# Build output
- "dist/**"
- "coverage/**"
- "node_modules/**"
# Configuration files
- "*.config.js"
- "*.config.ts"
- ".eslintrc.js"
- "jest.config.js"
comment:
layout: "reach,diff,flags,tree,footer"
behavior: default
require_changes: false
require_base: false
require_head: true
# GitHub Checks
github_checks:
annotations: true
# Flag management for different test types
flags:
unittests:
paths:
- src/
carryforward: true
# Component-based coverage tracking
component_management:
individual_components:
- component_id: rules
name: Rules
paths:
- src/rules/**
- component_id: validators
name: Validators
paths:
- src/validators/**
- component_id: cli
name: CLI
paths:
- src/cli/**
- component_id: config
name: Configuration
paths:
- src/config/**
- component_id: schemas
name: Schemas
paths:
- src/schemas/**