Skip to content

Commit d1e14c4

Browse files
committed
docs: add example of the field version
1 parent 6bac409 commit d1e14c4

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

Diff for: docs/src/docs/product/migration-guide.mdx

+4
Original file line numberDiff line numberDiff line change
@@ -2007,6 +2007,10 @@ severity:
20072007

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

2010+
```yaml
2011+
version: "2"
2012+
```
2013+
20102014
### Integration
20112015

20122016
#### VSCode

Diff for: docs/src/docs/usage/configuration.mdx

+8
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,14 @@ The configuration file can be validated with the JSON Schema: https://golangci-l
4242

4343
{ .ConfigurationExample }
4444

45+
### Configuration Version
46+
47+
```yaml
48+
# Defined the configuration version.
49+
# The only possible value is 2.
50+
version: "2"
51+
```
52+
4553
## Command-Line Options
4654
4755
### run

0 commit comments

Comments
 (0)