mirror of
https://github.com/mgechev/revive.git
synced 2025-07-05 00:28:53 +02:00
docs: lowercase arguments
for consistency
This commit is contained in:
committed by
chavacava
parent
8c274eb700
commit
0789e36cd9
@ -947,7 +947,7 @@ _Configuration_: Supports arguments with single of `map[string]any` with option
|
|||||||
|
|
||||||
```toml
|
```toml
|
||||||
[rule.unused-parameter]
|
[rule.unused-parameter]
|
||||||
Arguments = [{ allowRegex = "^_" }]
|
arguments = [{ allowRegex = "^_" }]
|
||||||
```
|
```
|
||||||
|
|
||||||
allows any names started with `_`, not just `_` itself:
|
allows any names started with `_`, not just `_` itself:
|
||||||
@ -964,7 +964,7 @@ _Configuration_: Supports arguments with single of `map[string]any` with option
|
|||||||
|
|
||||||
```toml
|
```toml
|
||||||
[rule.unused-receiver]
|
[rule.unused-receiver]
|
||||||
Arguments = [{ allowRegex = "^_" }]
|
arguments = [{ allowRegex = "^_" }]
|
||||||
```
|
```
|
||||||
|
|
||||||
allows any names started with `_`, not just `_` itself:
|
allows any names started with `_`, not just `_` itself:
|
||||||
|
Reference in New Issue
Block a user