1
0
mirror of https://github.com/mgechev/revive.git synced 2025-11-23 22:04:49 +02:00

docs: improve comments for functions; enable godot (#1382)

This commit is contained in:
Oleksandr Redko
2025-05-27 08:44:24 +03:00
committed by GitHub
parent 398f7a83eb
commit f4976873e7
49 changed files with 135 additions and 132 deletions

View File

@@ -53,7 +53,7 @@ const (
type FailureCategory string
const (
// SeverityWarning declares failures of type warning
// SeverityWarning declares failures of type warning.
SeverityWarning = "warning"
// SeverityError declares failures of type error.
SeverityError = "error"
@@ -62,7 +62,7 @@ const (
// Severity is the type for the failure types.
type Severity string
// FailurePosition returns the failure position
// FailurePosition returns the failure position.
type FailurePosition struct {
Start token.Position
End token.Position