Skip to content

Commit 4da0531

Browse files
committed
review
1 parent 32dea6f commit 4da0531

File tree

1 file changed

+25
-43
lines changed

1 file changed

+25
-43
lines changed

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

Lines changed: 25 additions & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -1583,49 +1583,6 @@ linters:
15831583

15841584
</details>
15851585

1586-
### `linters.enable[].typecheck`
1587-
1588-
This linter is an internal and enabled by default.
1589-
1590-
<details>
1591-
<summary>v1</summary>
1592-
1593-
```yaml
1594-
linters:
1595-
enable:
1596-
- typecheck
1597-
```
1598-
1599-
</details>
1600-
1601-
<details>
1602-
<summary>v2</summary>
1603-
1604-
```yaml
1605-
# typecheck is always enabled
1606-
```
1607-
1608-
</details>
1609-
1610-
### `linters.enable[].<deprecated_linter>`
1611-
1612-
The following deprecated linters have been removed:
1613-
1614-
- `deadcode`
1615-
- `execinquery`
1616-
- `exhaustivestruct`
1617-
- `exportloopref`
1618-
- `golint`
1619-
- `gomnd`
1620-
- `ifshort`
1621-
- `interfacer`
1622-
- `maligned`
1623-
- `nosnakecase`
1624-
- `scopelint`
1625-
- `structcheck`
1626-
- `tenv`
1627-
- `varcheck`
1628-
16291586
#### `linters.fast`
16301587

16311588
This property has been removed.
@@ -1813,6 +1770,31 @@ Presets:
18131770

18141771
</details>
18151772

1773+
### `typecheck`
1774+
1775+
This `typecheck` is not a linter, so it cannot be enabled or disabled:
1776+
1777+
- https://golangci-lint.run/welcome/faq/#why-do-you-have-typecheck-errors
1778+
- https://golangci-lint.run/welcome/faq/#why-is-it-not-possible-to-skipignore-typecheck-errors
1779+
1780+
### Deprecated Linters
1781+
1782+
The following deprecated linters have been removed:
1783+
1784+
- `deadcode`
1785+
- `execinquery`
1786+
- `exhaustivestruct`
1787+
- `exportloopref`
1788+
- `golint`
1789+
- `ifshort`
1790+
- `interfacer`
1791+
- `maligned`
1792+
- `nosnakecase`
1793+
- `scopelint`
1794+
- `structcheck`
1795+
- `tenv`
1796+
- `varcheck`
1797+
18161798
### Alternative Linter Names
18171799

18181800
The alternative linters has been removed.

0 commit comments

Comments
 (0)