Skip to content

Commit e9b2b66

Browse files
committed
review
1 parent 24e52b2 commit e9b2b66

File tree

1 file changed

+13
-13
lines changed

1 file changed

+13
-13
lines changed

docs/src/docs/product/migration-guide.mdx

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1269,7 +1269,7 @@ output:
12691269

12701270
#### `output.formats[].format: colored-line-number`
12711271

1272-
This format has been replaced by the format `text` with the option `colors: true`.
1272+
This format has been replaced by the format `text` with the option `colors` (`true` by default).
12731273

12741274
<details>
12751275
<summary>v1</summary>
@@ -1297,7 +1297,7 @@ output:
12971297

12981298
#### `output.formats[].format: colored-tab`
12991299

1300-
This format has been replaced by the format `tab` with the option `colors: true`.
1300+
This format has been replaced by the format `tab` with the option `colors` (`true` by default).
13011301

13021302
<details>
13031303
<summary>v1</summary>
@@ -1327,7 +1327,7 @@ output:
13271327

13281328
This property has been removed.
13291329

1330-
To print the lines with issues, use the `text` format with the option `print-issued-lines: true`.
1330+
To not print the lines with issues, use the `text` format with the option `print-issued-lines: false`.
13311331

13321332
<details>
13331333
<summary>v1</summary>
@@ -1337,7 +1337,7 @@ output:
13371337
formats:
13381338
- format: line-number
13391339
path: stdout
1340-
print-issued-lines: true
1340+
print-issued-lines: false
13411341
```
13421342

13431343
</details>
@@ -1350,7 +1350,7 @@ output:
13501350
formats:
13511351
text:
13521352
path: stdout
1353-
print-issued-lines: true
1353+
print-issued-lines: false
13541354
```
13551355

13561356
</details>
@@ -1359,7 +1359,7 @@ output:
13591359

13601360
This property has been removed.
13611361

1362-
To print the linter name, use the `text` format with the option `print-linter-name: true`.
1362+
To not print the linter name, use the `text` format with the option `print-linter-name: false`.
13631363

13641364
<details>
13651365
<summary>v1</summary>
@@ -1369,7 +1369,7 @@ output:
13691369
formats:
13701370
- format: line-number
13711371
path: stdout
1372-
print-linter-name: true
1372+
print-linter-name: false
13731373
```
13741374

13751375
</details>
@@ -1382,7 +1382,7 @@ output:
13821382
formats:
13831383
text:
13841384
path: stdout
1385-
print-linter-name: true
1385+
print-linter-name: false
13861386
```
13871387

13881388
</details>
@@ -1684,7 +1684,7 @@ linters:
16841684

16851685
</details>
16861686

1687-
### `linters.enable[].<formatter_name>`
1687+
#### `linters.enable[].<formatter_name>`
16881688

16891689
The linters `gci`, `gofmt`, `gofumpt`, and `goimports` have been moved to the `formatters` section.
16901690

@@ -1716,7 +1716,7 @@ formatters:
17161716

17171717
</details>
17181718

1719-
### `linters.enable[].{stylecheck,gosimple,staticcheck}`
1719+
#### `linters.enable[].{stylecheck,gosimple,staticcheck}`
17201720

17211721
The linters `stylecheck`, `gosimple`, and `staticcheck` has been merged inside the `staticcheck`.
17221722

@@ -1931,14 +1931,14 @@ Presets:
19311931

19321932
</details>
19331933

1934-
### `typecheck`
1934+
#### `typecheck`
19351935

19361936
This `typecheck` is not a linter, so it cannot be enabled or disabled:
19371937

19381938
- https://golangci-lint.run/welcome/faq/#why-do-you-have-typecheck-errors
19391939
- https://golangci-lint.run/welcome/faq/#why-is-it-not-possible-to-skipignore-typecheck-errors
19401940

1941-
### Deprecated Linters
1941+
#### Deprecated Linters
19421942

19431943
The following deprecated linters have been removed:
19441944

@@ -1956,7 +1956,7 @@ The following deprecated linters have been removed:
19561956
- `tenv`
19571957
- `varcheck`
19581958

1959-
### Alternative Linter Names
1959+
#### Alternative Linter Names
19601960

19611961
The alternative linters has been removed.
19621962

0 commit comments

Comments
 (0)