mirror of
https://github.com/mgechev/revive.git
synced 2025-07-15 01:04:40 +02:00
Update formatting
This commit is contained in:
@ -99,7 +99,7 @@ This will use `config.toml`, the `friendly` formatter, and will run linting over
|
|||||||
List of all available rules. The rules ported from `golint` are left unchanged and indicated in the `golit` column.
|
List of all available rules. The rules ported from `golint` are left unchanged and indicated in the `golit` column.
|
||||||
|
|
||||||
| Name | Config | Description | `golint` |
|
| Name | Config | Description | `golint` |
|
||||||
| --------------------- | :----: | :--------------------------------------------------------------: | :------: |
|
| --------------------- | :----: | :--------------------------------------------------------------- | :------: |
|
||||||
| `blank-imports` | N/A | Disallows blank imports | yes |
|
| `blank-imports` | N/A | Disallows blank imports | yes |
|
||||||
| `context-arguments` | N/A | `context.Context` should be the first argument of a function. | yes |
|
| `context-arguments` | N/A | `context.Context` should be the first argument of a function. | yes |
|
||||||
| `context-key-type` | N/A | Disallows the usage of basic types in `context.WithValue`. | yes |
|
| `context-key-type` | N/A | Disallows the usage of basic types in `context.WithValue`. | yes |
|
||||||
|
Reference in New Issue
Block a user