Skip to content

Commit 500d985

Browse files
committed
docs: explicitly specify that the migrate command writes individual linters of the presets to the linters.enable field
1 parent 756a7b5 commit 500d985

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

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

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,8 @@ The `migrate` command enforces the following default values:
3737
- `run.concurrency`: if the existing value was `0`, it is removed as `0` is the new default.
3838
- `run.relative-path-mode`: if the existing value was `cfg`, it is removed as `cfg` is the new default.
3939

40+
`linters.presets` has been removed. The `migrate` command **automatically adds individual linters to `linters.enable`.**
41+
4042
`issues.exclude-generated` has a new default value (v1 `lax`, v2 `strict`), so this field will be added during the migration to maintain the previous behavior.
4143

4244
`issues.exclude-dirs-use-default` has been removed, so it is converted to `linters.exclusions.paths` and, if needed, `formatters.exclusions.paths`.
@@ -189,7 +191,7 @@ There are 2 new options (they are not strictly equivalent to the previous option
189191

190192
#### `linters.presets`
191193

192-
This property have been removed.
194+
This property has been removed. The `migrate` command **automatically adds individual linters to `linters.enable`.**
193195

194196
<details>
195197
<summary style={{color: '#737380', paddingLeft: '1rem'}}>v1</summary>

0 commit comments

Comments
 (0)