Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions docs/src/docs/product/migration-guide.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -2007,6 +2007,10 @@ severity:

The `version` property has been added to the configuration file.

```yaml
version: "2"
```

### Integration

#### VSCode
Expand Down
8 changes: 8 additions & 0 deletions docs/src/docs/usage/configuration.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,14 @@ The configuration file can be validated with the JSON Schema: https://golangci-l

{ .ConfigurationExample }

### Configuration Version

```yaml
# Defines the configuration version.
# The only possible value is "2".
version: "2"
```

## Command-Line Options

### run
Expand Down
Loading