File tree Expand file tree Collapse file tree 6 files changed +13
-11
lines changed
Expand file tree Collapse file tree 6 files changed +13
-11
lines changed Original file line number Diff line number Diff line change @@ -535,15 +535,15 @@ linters-settings:
535535 - ' .+/cobra\.Command$'
536536
537537 filen :
538- # Min number of lines in a file setting
539- # Default: 5
540- min-lines-num : 5
541- # Max number of lines in a file setting
542- # Default: 5
543- max-lines-num : 500
544538 # Ignore comments when counting lines.
545539 # Default false
546- ignore-comments : false
540+ ignore-comments : true
541+ # Max number of lines in a file setting
542+ # Default: 500
543+ max-lines-num : 1000
544+ # Min number of lines in a file setting
545+ # Default: 5
546+ min-lines-num : 1
547547
548548 forbidigo :
549549 # Forbid the following identifiers (list of regexp).
Original file line number Diff line number Diff line change 11module github.com/golangci/golangci-lint
22
3- go 1.23.2
3+ go 1.22.1
44
55require (
66 4d63.com/gocheckcompilerdirectives v1.2.1
@@ -12,7 +12,7 @@ require (
1212 github.com/Antonboom/testifylint v1.5.0
1313 github.com/BurntSushi/toml v1.4.1-0.20240526193622-a339e1f7089c
1414 github.com/Crocmagnon/fatcontext v0.5.2
15- github.com/DanilXO/filen v0.1 .0
15+ github.com/DanilXO/filen v0.2 .0
1616 github.com/Djarvur/go-err113 v0.0.0-20210108212216-aea10b59be24
1717 github.com/GaijinEntertainment/go-exhaustruct/v3 v3.3.0
1818 github.com/OpenPeeDeeP/depguard/v2 v2.2.0
Original file line number Diff line number Diff line change @@ -1014,9 +1014,9 @@ type WSLSettings struct {
10141014}
10151015
10161016type FilenSettings struct {
1017+ IgnoreComments bool `mapstructure:"ignore-comments"`
10171018 MaxLinesNum int `mapstructure:"min-lines-num"`
10181019 MinLinesNum int `mapstructure:"max-lines-num"`
1019- IgnoreComments bool `mapstructure:"ignore-comments"`
10201020}
10211021
10221022// CustomLinterSettings encapsulates the meta-data of a private linter.
Original file line number Diff line number Diff line change 11package filen
22
33import (
4- "github.com/DanilXO/filen/pgk /filen"
4+ "github.com/DanilXO/filen/pkg /filen"
55 "github.com/golangci/golangci-lint/pkg/config"
66 "github.com/golangci/golangci-lint/pkg/goanalysis"
77 "golang.org/x/tools/go/analysis"
File renamed without changes.
You can’t perform that action at this time.
0 commit comments