Commit 9daedd7
committed
[Monorepo] Unify Makefile for Lint, Fix Lint Issues, and Correct Imports
- Unified linting configuration for both projects, now defined in the root directory.
- Addressed Catalogd test file linting issues:
- Replaced `assert.Nil(t, err)` with `require.NoError(t, err)` where applicable.
- Replaced `assert.NotNil(t, err)` with `require.Error(t, err)` where appropriate.
- Fixed import sorting ensuring all files have properly organized imports for the lint does not fail with the issue (File is not -ed). Note this was caused by the replace `catalogd "github.com/operator-framework/operator-controller/catalogd/api/v1"` with `catalogd "github.com/operator-framework/operator-controller/catalogd/api/v1"`1 parent 685c31c commit 9daedd7
File tree
19 files changed
+18
-149
lines changed- .github/workflows
- catalogd
- internal
- controllers/core
- garbagecollection
- source
- webhook
- cmd/manager
- internal
- catalogmetadata/client
- controllers
- resolve
- scheme
- test
- e2e
- extension-developer-e2e
- upgrade-e2e
19 files changed
+18
-149
lines changedThis file was deleted.
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
80 | 80 | | |
81 | 81 | | |
82 | 82 | | |
83 | | - | |
84 | | - | |
85 | | - | |
86 | | - | |
87 | | - | |
88 | | - | |
89 | | - | |
90 | | - | |
91 | 83 | | |
92 | 84 | | |
93 | 85 | | |
| |||
120 | 112 | | |
121 | 113 | | |
122 | 114 | | |
123 | | - | |
124 | | - | |
125 | | - | |
126 | | - | |
127 | | - | |
128 | | - | |
129 | | - | |
130 | | - | |
131 | | - | |
132 | 115 | | |
133 | 116 | | |
134 | 117 | | |
| |||
141 | 124 | | |
142 | 125 | | |
143 | 126 | | |
144 | | - | |
145 | | - | |
146 | | - | |
147 | 127 | | |
148 | 128 | | |
149 | 129 | | |
| |||
196 | 176 | | |
197 | 177 | | |
198 | 178 | | |
199 | | - | |
| 179 | + | |
200 | 180 | | |
201 | 181 | | |
202 | 182 | | |
| |||
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
758 | 758 | | |
759 | 759 | | |
760 | 760 | | |
761 | | - | |
| 761 | + | |
762 | 762 | | |
763 | | - | |
| 763 | + | |
764 | 764 | | |
765 | 765 | | |
766 | 766 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
77 | 77 | | |
78 | 78 | | |
79 | 79 | | |
80 | | - | |
| 80 | + | |
81 | 81 | | |
82 | 82 | | |
83 | 83 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
410 | 410 | | |
411 | 411 | | |
412 | 412 | | |
413 | | - | |
| 413 | + | |
414 | 414 | | |
415 | 415 | | |
416 | 416 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| 8 | + | |
8 | 9 | | |
9 | 10 | | |
10 | 11 | | |
| |||
91 | 92 | | |
92 | 93 | | |
93 | 94 | | |
94 | | - | |
| 95 | + | |
95 | 96 | | |
96 | 97 | | |
97 | 98 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
50 | 50 | | |
51 | 51 | | |
52 | 52 | | |
53 | | - | |
54 | 53 | | |
55 | 54 | | |
| 55 | + | |
56 | 56 | | |
57 | 57 | | |
58 | 58 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | | - | |
16 | 15 | | |
| 16 | + | |
| 17 | + | |
17 | 18 | | |
18 | 19 | | |
19 | 20 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
18 | 17 | | |
19 | 18 | | |
| 19 | + | |
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| |||
0 commit comments