mirror of
https://github.com/mgechev/revive.git
synced 2024-11-24 08:32:22 +02:00
docs: lowercase arguments
for consistency
This commit is contained in:
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:
|
||||||
|
Loading…
Reference in New Issue
Block a user