File tree Expand file tree Collapse file tree 2 files changed +2
-9
lines changed
scripts/website/expand_templates Expand file tree Collapse file tree 2 files changed +2
-9
lines changed Original file line number Diff line number Diff line change @@ -42,14 +42,6 @@ The configuration file can be validated with the JSON Schema: https://golangci-l
4242
4343{ .ConfigurationExample }
4444
45- ### ` version ` configuration
46-
47- ``` yaml
48- # Defines the configuration version.
49- # The only possible value is "2".
50- version : " 2"
51- ` ` `
52-
5345## Command-Line Options
5446
5547### run
Original file line number Diff line number Diff line change @@ -281,7 +281,8 @@ func (e *ExampleSnippetsExtractor) extractExampleSnippets(example []byte) (*Sett
281281 }
282282
283283 if node .Value == "version" {
284- node .HeadComment = `See the dedicated "version" documentation section.`
284+ node .HeadComment = `Defines the configuration version.
285+ The only possible value is "2"`
285286 newNode = nextNode
286287 }
287288
You can’t perform that action at this time.
0 commit comments