Skip to content

Commit

Permalink
chore: remove allow-leading-space
Browse files Browse the repository at this point in the history
  • Loading branch information
ldez committed Aug 5, 2022
1 parent a6365e5 commit 76ebd69
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 4 deletions.
1 change: 0 additions & 1 deletion .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,6 @@ linters-settings:
misspell:
locale: US
nolintlint:
allow-leading-space: false
allow-unused: false # report any unused nolint directives
require-explanation: false # don't require an explanation for nolint directives
require-specific: false # don't require nolint directives to be specific about which linter is being skipped
Expand Down
1 change: 0 additions & 1 deletion test/testdata/fix/in/nolintlint.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
//golangcitest:args -Enolintlint -Elll
//golangcitest:expected_linter nolintlint
//golangcitest:config linters-settings.nolintlint.allow-leading-space=false
package p

import "fmt"
Expand Down
1 change: 0 additions & 1 deletion test/testdata/fix/out/nolintlint.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
//golangcitest:args -Enolintlint -Elll
//golangcitest:expected_linter nolintlint
//golangcitest:config linters-settings.nolintlint.allow-leading-space=false
package p

import "fmt"
Expand Down
1 change: 0 additions & 1 deletion test/testdata/nolintlint.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
//golangcitest:expected_linter nolintlint
//golangcitest:config linters-settings.nolintlint.require-explanation=true
//golangcitest:config linters-settings.nolintlint.require-specific=true
//golangcitest:config linters-settings.nolintlint.allow-leading-space=false
package testdata

import "fmt"
Expand Down

0 comments on commit 76ebd69

Please sign in to comment.