Skip to content

Commit 479e560

Browse files
build(deps): bump github.com/manuelarte/funcorder from 0.5.0 to 0.6.0 (#6494)
Co-authored-by: Fernandez Ludovic <ldez@users.noreply.github.com>
1 parent 1fe87d0 commit 479e560

4 files changed

Lines changed: 11 additions & 3 deletions

File tree

.golangci.next.reference.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -601,6 +601,9 @@ linters:
601601
# Checks if the constructors and/or structure methods are sorted alphabetically.
602602
# Default: false
603603
alphabetical: true
604+
# Checks that exported functions are placed before unexported functions.
605+
# Default: false
606+
function: true
604607

605608
funlen:
606609
# Checks the number of lines in a function.

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ require (
9191
github.com/leonklingele/grouper v1.1.2
9292
github.com/macabu/inamedparam v0.2.0
9393
github.com/manuelarte/embeddedstructfieldcheck v0.4.0
94-
github.com/manuelarte/funcorder v0.5.0
94+
github.com/manuelarte/funcorder v0.6.0
9595
github.com/maratori/testableexamples v1.0.1
9696
github.com/maratori/testpackage v1.1.2
9797
github.com/matoous/godox v1.1.0

go.sum

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

jsonschema/golangci.next.jsonschema.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1485,6 +1485,11 @@
14851485
"description": "Checks if the constructors and/or structure methods are sorted alphabetically.",
14861486
"type": "boolean",
14871487
"default": false
1488+
},
1489+
"function": {
1490+
"description": "Checks that exported functions are placed before unexported functions.",
1491+
"type": "boolean",
1492+
"default": false
14881493
}
14891494
}
14901495
},

0 commit comments

Comments
 (0)