File tree 5 files changed +0
-7
lines changed
5 files changed +0
-7
lines changed Original file line number Diff line number Diff line change @@ -1184,9 +1184,6 @@ linters-settings:
1184
1184
# Disable to ensure that all nolint directives actually have an effect.
1185
1185
# Default: false
1186
1186
allow-unused : true
1187
- # Disable to ensure that nolint directives don't have a leading space.
1188
- # Default: true
1189
- allow-leading-space : false
1190
1187
# Exclude following linters from requiring an explanation.
1191
1188
# Default: []
1192
1189
allow-no-explanation : [ ]
Original file line number Diff line number Diff line change @@ -61,7 +61,6 @@ linters-settings:
61
61
misspell :
62
62
locale : US
63
63
nolintlint :
64
- allow-leading-space : false
65
64
allow-unused : false # report any unused nolint directives
66
65
require-explanation : false # don't require an explanation for nolint directives
67
66
require-specific : false # don't require nolint directives to be specific about which linter is being skipped
Original file line number Diff line number Diff line change 1
1
//golangcitest:args -Enolintlint -Elll
2
2
//golangcitest:expected_linter nolintlint
3
- //golangcitest:config linters-settings.nolintlint.allow-leading-space=false
4
3
package p
5
4
6
5
import "fmt"
Original file line number Diff line number Diff line change 1
1
//golangcitest:args -Enolintlint -Elll
2
2
//golangcitest:expected_linter nolintlint
3
- //golangcitest:config linters-settings.nolintlint.allow-leading-space=false
4
3
package p
5
4
6
5
import "fmt"
Original file line number Diff line number Diff line change 2
2
//golangcitest:expected_linter nolintlint
3
3
//golangcitest:config linters-settings.nolintlint.require-explanation=true
4
4
//golangcitest:config linters-settings.nolintlint.require-specific=true
5
- //golangcitest:config linters-settings.nolintlint.allow-leading-space=false
6
5
package testdata
7
6
8
7
import "fmt"
You can’t perform that action at this time.
0 commit comments