Add nolint for NewParser function

Signed-off-by: Filip Petkovski <filip.petkovsky@gmail.com>
This commit is contained in:
Filip Petkovski 2023-03-22 10:20:16 +01:00
parent 97c7fffbb8
commit 3d7783e663
No known key found for this signature in database
GPG key ID: 431B0F2E85E42402

View file

@ -70,6 +70,7 @@ func WithFunctions(functions map[string]*Function) Opt {
}
// NewParser returns a new parser.
// nolint:revive
func NewParser(input string, opts ...Opt) *parser {
p := parserPool.Get().(*parser)