Commit 0209587
committed
Added enums linter
modified: docs/linters.md
new file: pkg/analysis/enums/analyzer.go
new file: pkg/analysis/enums/analyzer_test.go
new file: pkg/analysis/enums/config.go
new file: pkg/analysis/enums/doc.go
new file: pkg/analysis/enums/initializer.go
new file: pkg/analysis/enums/testdata/src/a/a.go
new file: pkg/analysis/enums/testdata/src/b/b.go
modified: pkg/registration/doc.go1 parent f87b38e commit 0209587
File tree
9 files changed
+750
-1
lines changed- docs
- pkg
- analysis/enums
- testdata/src
- a
- b
- registration
9 files changed
+750
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| 9 | + | |
9 | 10 | | |
10 | 11 | | |
11 | 12 | | |
| |||
235 | 236 | | |
236 | 237 | | |
237 | 238 | | |
| 239 | + | |
| 240 | + | |
| 241 | + | |
| 242 | + | |
| 243 | + | |
| 244 | + | |
| 245 | + | |
| 246 | + | |
| 247 | + | |
| 248 | + | |
| 249 | + | |
| 250 | + | |
| 251 | + | |
| 252 | + | |
| 253 | + | |
| 254 | + | |
| 255 | + | |
| 256 | + | |
| 257 | + | |
| 258 | + | |
| 259 | + | |
238 | 260 | | |
239 | 261 | | |
240 | 262 | | |
241 | 263 | | |
242 | 264 | | |
243 | 265 | | |
244 | | - | |
| 266 | + | |
245 | 267 | | |
246 | 268 | | |
247 | 269 | | |
| |||
0 commit comments