Skip to content

Commit dc0f750

Browse files
committed
config gci to accept linefeed on windows as line ending
1 parent 7431a60 commit dc0f750

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

.golangci.toml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,6 @@ disable = [
3636
'gocognit',
3737
'goconst',
3838
'gocyclo',
39-
# 'godot',
4039
'godox',
4140
'goheader',
4241
'gomoddirectives',
@@ -78,6 +77,9 @@ comparison = true
7877
[[linters.settings.forbidigo.forbid]]
7978
pattern = 'time.After\.*(# use of time After can create memory allocation issues see https://github.com/github/go-linter/tree/main/doc/time_after.md )?'
8079

80+
[linters.settings.gci]
81+
line-endings = "lf"
82+
8183
[linters.settings.gocritic]
8284
disabled-checks = [
8385
'importShadow',

0 commit comments

Comments
 (0)