mirror of
https://github.com/MontFerret/ferret.git
synced 2026-06-20 01:17:53 +02:00
Actually, let's just disable the check for Type
This commit is contained in:
@@ -4,6 +4,7 @@ import (
|
|||||||
"encoding/json"
|
"encoding/json"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
//revive:disable-next-line redefines-builtin-id
|
||||||
type Type int64
|
type Type int64
|
||||||
|
|
||||||
const (
|
const (
|
||||||
|
|||||||
@@ -30,4 +30,3 @@ warningCode = 0
|
|||||||
[rule.unused-parameter]
|
[rule.unused-parameter]
|
||||||
[rule.unreachable-code]
|
[rule.unreachable-code]
|
||||||
[rule.redefines-builtin-id]
|
[rule.redefines-builtin-id]
|
||||||
severity = "warning"
|
|
||||||
|
|||||||
Reference in New Issue
Block a user